home *** CD-ROM | disk | FTP | other *** search
/ Power Utilities / Power Utilities.iso / utility / pro68 / locate.doc < prev    next >
Encoding:
Text File  |  1993-05-31  |  146.9 KB  |  3,272 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                  ██
  7.                  ██     ▄████▄ ▄████▄ ▄████▄ ███████ ██████
  8.                  ██     █    █ █    ▀ █    █ ▀  █  ▀ █
  9.                  ██     █    █ █      █    █    █    █████
  10.                  ██     █    █ █      █▄▄▄▄█    █    █
  11.                  ██     █    █ █    ▄ █    █    █    █
  12.                  ██████ ▀████▀ ▀████▀ █    █   ███   ██████
  13.                  ──────────────────────────────────────────
  14.                       File Find and Maintenance Utility
  15.                  ──────────────────────────────────────────
  16.                                 Version 2.00
  17.  
  18.  
  19.  
  20.                          ═══ Instruction Guide ═══
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                             Donald Ray Hutchins
  38.                           System Solutions Company
  39.                              4409 Ansley Drive
  40.                         Winston-Salem, NC 27107-7671
  41.  
  42.  
  43.                              Copyright (c) 1993
  44.                Donald Ray Hutchins, System Solutions Company
  45.          All Rights Reserved - Unauthorized Duplication Prohibited
  46.  
  47.  
  48.                            ┌─────────┐
  49.                      ┌─────┴───┐     │               (R)
  50.                    ──│         │o    │──────────────────
  51.                      │   ┌─────┴╨──┐ │  Association of
  52.                      │   │         │─┘  Shareware
  53.                      └───│    o    │    Professionals
  54.                    ──────│    ║    │────────────────────
  55.                          └────╨────┘    MEMBER
  56.  
  57.  
  58.                                                            Copyright Notice
  59.      ──────────────────────────────────────────────────────────────────────
  60.  
  61.      LOCATE is  Copyright, 1993  by Donald  Ray Hutchins,  System Solutions
  62.      Company.  All rights  are reserved.  LOCATE is shareware.   Please see
  63.      Appendix C, page 50, for a description of shareware.
  64.  
  65.  
  66.                                                         Warranty Disclaimer
  67.      ──────────────────────────────────────────────────────────────────────
  68.  
  69.      System Solutions Company  makes no warranty of any  kind, expressed or
  70.      implied,    including   without    limitation   any    warranties   of
  71.      merchantability and/or fitness for a particular purpose.
  72.  
  73.      System Solutions Company does not assume any  liability for the use of
  74.      this software beyond the original purchase price of this software.
  75.  
  76.      In  no event will  System Solutions Company  be liable to  you for any
  77.      additional damages, including any lost profits, lost savings, or other
  78.      incidental  or  consequential  damages arising  from  the  use  of, or
  79.      inability  to use, this  software and its  accompanying documentation,
  80.      even if System  Solutions Company has been advised  of the possibility
  81.      of such damages.
  82.  
  83.  
  84.                                                          Manual Conventions
  85.      ──────────────────────────────────────────────────────────────────────
  86.  
  87.      This section  outlines type-conventions in this guide.  Filenames will
  88.      be  printed in all CAPs i.e., LOCATE.EXE.   Commands (things you type)
  89.      also will be in all CAPs.  Parameters or options will be surrounded by
  90.      <angled braces>.  Optional parameters or options (usually specified as
  91.      part of a command) will be surrounded by [square braces].
  92.  
  93.  
  94.                                                      About System Solutions
  95.      ──────────────────────────────────────────────────────────────────────
  96.  
  97.      System  Solutions Company  is  owned  by Donald  Ray  Hutchins and  is
  98.      located in Winston-Salem,  North Carolina.  System  Solutions provides
  99.      system development  and consulting  services to  local North  Carolina
  100.      companies.
  101.  
  102.      Donald  Ray Hutchins  is  a  member of  the  Association of  Shareware
  103.      Professionals  (ASP).  Please refer  to Appendix D,  page 51, for more
  104.      information on the ASP.
  105.  
  106.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  107.      │   To find out how to contact Donald Ray Hutchins at System        │▄
  108.      │   Solutions Company, please refer to Appendix E, page 52.         │█
  109.      └───────────────────────────────────────────────────────────────────┘█
  110.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  111.  
  112.  
  113.                                                           Table of Contents
  114.      ──────────────────────────────────────────────────────────────────────
  115.  
  116.      Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . .    1
  117.           Description  . . . . . . . . . . . . . . . . . . . . . . . .    1
  118.           Features Summary . . . . . . . . . . . . . . . . . . . . . .    1
  119.           What's New in This Release . . . . . . . . . . . . . . . . .    2
  120.  
  121.      Chapter 2: Getting Started  . . . . . . . . . . . . . . . . . . .    4
  122.           System Requirements  . . . . . . . . . . . . . . . . . . . .    4
  123.           Network Support  . . . . . . . . . . . . . . . . . . . . . .    4
  124.           Installing LOCATE  . . . . . . . . . . . . . . . . . . . . .    4
  125.           Using Command-Line Options . . . . . . . . . . . . . . . . .    4
  126.                Entering the File Specification . . . . . . . . . . . .    5
  127.                Using the Extended Wildcard Option  . . . . . . . . . .    5
  128.           The LOCATE File Display  . . . . . . . . . . . . . . . . . .    6
  129.           Interrupting LOCATE  . . . . . . . . . . . . . . . . . . . .    7
  130.           Setting LOCATE Defaults  . . . . . . . . . . . . . . . . . .    7
  131.  
  132.      Chapter 3: Searching for Files  . . . . . . . . . . . . . . . . .   10
  133.           Controlling the Scope of File Searches . . . . . . . . . . .   10
  134.                /C Option: Current Directory Only . . . . . . . . . . .   10
  135.                /S Option: Current Directory and Under  . . . . . . . .   10
  136.                /DIR Option: Include Directory Entries  . . . . . . . .   11
  137.                /V= Option: Volume/ Drive List  . . . . . . . . . . . .   11
  138.                /PATH Option: Search DOS PATH or NetWare Search MAP . .   11
  139.           Miscellaneous Options  . . . . . . . . . . . . . . . . . . .   12
  140.                /P Option: Pause Display  . . . . . . . . . . . . . . .   12
  141.                /Q Option: Quiet Display  . . . . . . . . . . . . . . .   12
  142.                /CD Option: Change Directory  . . . . . . . . . . . . .   13
  143.                /AUTO Option: Suppress Confirmation Prompts . . . . . .   13
  144.                /### Option: Maximum Files to List or /SET  . . . . . .   13
  145.                /R Option: Registration Information . . . . . . . . . .   14
  146.           Advanced Search Options  . . . . . . . . . . . . . . . . . .   14
  147.                /S= Option: File Size Limit . . . . . . . . . . . . . .   14
  148.                /D= Option: Last Modify Date  . . . . . . . . . . . . .   15
  149.                /AGE= Option: Last Modify Date  . . . . . . . . . . . .   17
  150.                /T= Option: Last Modify Time  . . . . . . . . . . . . .   17
  151.                /A= Option: File Attributes . . . . . . . . . . . . . .   18
  152.                /O= Option: File Owner  . . . . . . . . . . . . . . . .   19
  153.                /O NOT= Option: NOT File Owner  . . . . . . . . . . . .   21
  154.                /TEXT Option: File Contents . . . . . . . . . . . . . .   21
  155.  
  156.      Chapter 4: Using /SET Options . . . . . . . . . . . . . . . . . .   24
  157.           Overview of /SET Options . . . . . . . . . . . . . . . . . .   24
  158.                /SETD= Option: Set File Date  . . . . . . . . . . . . .   25
  159.                /SETT= Option: Set File Time  . . . . . . . . . . . . .   26
  160.                /SETA= Option: Set File Attributes  . . . . . . . . . .   26
  161.                /SETO= Option: Set File Owner . . . . . . . . . . . . .   28
  162.           Network Considerations for Using /SET Options  . . . . . . .   28
  163.  
  164.      Chapter 5: Deleting Files with /DEL . . . . . . . . . . . . . . .   29
  165.           Overview of /DEL Option  . . . . . . . . . . . . . . . . . .   29
  166.  
  167.  
  168.      Chapter 6: Using the /BATCH and /RUN Options  . . . . . . . . . .   30
  169.           Overview of /BATCH Option  . . . . . . . . . . . . . . . . .   30
  170.           Overview of /RUN Option  . . . . . . . . . . . . . . . . . .   31
  171.           Using the Replacement Tokens . . . . . . . . . . . . . . . .   31
  172.           Creating Batch Files . . . . . . . . . . . . . . . . . . . .   32
  173.  
  174.      Chapter 7: Miscellaneous Topics . . . . . . . . . . . . . . . . .   34
  175.           Network Access Requirements  . . . . . . . . . . . . . . . .   34
  176.           Alternate Option Specifications  . . . . . . . . . . . . . .   35
  177.           Redirecting Output . . . . . . . . . . . . . . . . . . . . .   36
  178.           Error Messages . . . . . . . . . . . . . . . . . . . . . . .   37
  179.           Common Questions . . . . . . . . . . . . . . . . . . . . . .   42
  180.  
  181.      Appendix A: Registration Information  . . . . . . . . . . . . . .   46
  182.           How to Register  . . . . . . . . . . . . . . . . . . . . . .   46
  183.           Cost of Registration . . . . . . . . . . . . . . . . . . . .   46
  184.           Upgrade Information  . . . . . . . . . . . . . . . . . . . .   47
  185.           Benefits of Registration . . . . . . . . . . . . . . . . . .   47
  186.  
  187.      Appendix B: Limited Distribution License  . . . . . . . . . . . .   49
  188.           Important Provisions . . . . . . . . . . . . . . . . . . . .   49
  189.  
  190.      Appendix C: Description of Shareware  . . . . . . . . . . . . . .   50
  191.  
  192.      Appendix D: The Association of Shareware Professionals  . . . . .   51
  193.  
  194.      Appendix E: Contacting System Solutions Company . . . . . . . . .   52
  195.           Comments and Suggestions . . . . . . . . . . . . . . . . . .   52
  196.  
  197.      Appendix F: Trademarks and Copyrights . . . . . . . . . . . . . .   53
  198.  
  199.  
  200.                                                     Chapter 1: Introduction
  201.      ──────────────────────────────────────────────────────────────────────
  202.  
  203.      Description
  204.      ═══════════
  205.      Welcome to LOCATE,  version 2.00!  LOCATE  is a DOS file  location and
  206.      maintenance utility.   If you are saying  to yourself, ". .  . another
  207.      file find  utility . . .",  then please read on.   LOCATE stands above
  208.      other  commercial  and  shareware  utilities   by  offering  extremely
  209.      flexible options without degradations in performance.
  210.  
  211.  
  212.      Features Summary
  213.      ════════════════
  214.      LOCATE allows you to locate files quickly and easily.  You may specify
  215.      a starting path,  scan only the current  directory, or begin the  scan
  216.      from the root.   Multiple  volumes may  be scanned in  a single  pass.
  217.      LOCATE will even search the DOS PATH (and the NetWare Search MAP).
  218.  
  219.      Restricting the  scan to  only files that  meet specific  criterion is
  220.      easy using LOCATE's flexible parameters.  You may restrict the scan by
  221.      specifying file attributes, the file  date stamp, the file time stamp,
  222.      the file size, and  even the owner (under Novell NetWare).   Also, You
  223.      may find files that fall within  a range of criterion (date, time,  or
  224.      size), i.e., all files last modified between 6-15-92 and 6-20-92.
  225.  
  226.      In addition to these features, LOCATE supports a powerful SET function
  227.      that allows  you to change  file properties as files  are located; you
  228.      may change file attributes  (ON or OFF),  the file owner under  Novell
  229.      NetWare, the last modify date, and/or the last modify time.
  230.  
  231.      For Novell NetWare users, LOCATE displays the owner for each file.  In
  232.      addition, you  may restrict the  file scan to  files owned by  (or NOT
  233.      owned by) any valid user.   As stated, the SET function allows  you to
  234.      change the owner for files matching a LOCATE search specification.
  235.  
  236.      Many  advanced options  are supported,  including  searching for  text
  237.      within  files,  searching  for  files  that  contain  text  within the
  238.      filename, and  building batch files  or running commands based  on the
  239.      file search.
  240.  
  241.      LOCATE offers  features and  functionality that you  will not  find in
  242.      competing  products.  In addition, LOCATE is distributed as shareware;
  243.      so you can test drive the software before you make a purchase decision
  244.      (see Appendix C, page 50, for a description of the shareware concept).
  245.  
  246.      All this  and more  is tightly packaged  in an  intuitive command-line
  247.      interface that both power users and novice users can master with ease.
  248.      LOCATE may be  customized so that you  don't have to keep  re-entering
  249.      the  command line  options.   This  gives you  the power  to establish
  250.      permanent  defaults  for  many  LOCATE  options  that  you can  easily
  251.      override (in whole or in part) on the command-line.
  252.  
  253.  
  254.      ══════════════════════════════════════════════════════════════════════
  255.      LOCATE: version 2.00                                            page 1
  256.  
  257.  
  258.      What's New in This Release
  259.      ══════════════════════════
  260.      For  a complete  list of  new features,  please see  the documentation
  261.      file, HISTORY.DOC.   The  highlights of version  2.00 are  outlined in
  262.      this section.   All restrictions in  previous shareware versions  have
  263.      been   removed.    In  addition,  all   features  are  documented  and
  264.      distributed with the shareware version.
  265.  
  266.      The problems  with the  /OWNER flag (under  Novell NetWare)  in multi-
  267.      server environments has been fixed.
  268.  
  269.      Color has been added to all displays (you can still redirect output to
  270.      a  printer/device or a file).  Note that LOCATE maintains your current
  271.      background color for all displays if possible.
  272.  
  273.      Many operations  are faster than  in previous versions.   In addition,
  274.      error detection has  been improved considerably.  LOCATE  now offers a
  275.      <R>etry option for critical errors (disk or printer not ready, etc).
  276.  
  277.      The  new "extended wildcard" support allows you  to find files where a
  278.      search specification  occurs anywhere in the FILE[.EXT].  For example,
  279.      "LOCATE *92"  finds  all files  where "92"  is found  anywhere in  the
  280.      filename or extension (92DATA.DAT, FILE92.ARC, LIST.92, etc.).
  281.  
  282.      LOCATE now allows  you to customize default behavior by defining a DOS
  283.      environment variable  (called  "LOCATE").   This  allows  you  to  set
  284.      defaults for many LOCATE options (/S, /P, /Q, /M, /BIOS, /DIR, /NONET,
  285.      /TL###, /[NO]OCCUR, and /[NO]CASE).
  286.  
  287.      LOCATE now  allows  you to  search for  text within  files.   You  may
  288.      optionally list the number  of occurrences per file.  In addition, you
  289.      may  select to  display  the  offset within  the  file  and the  bytes
  290.      surrounding the search text.  You  can use this feature when you  know
  291.      the contents of a file but you are not sure  of the name.  Programmers
  292.      can  use this  feature to  find all programs  that contain  a specific
  293.      function, etc.
  294.  
  295.      You can build batch  files using the new /BATCH option.   For example,
  296.      you may wish  to find all files that meet specific criterion, and copy
  297.      each file to  a backup directory.   You simply specify the  batch file
  298.      command format (i.e., "COPY <filename here> C:\BACKUP\*.*") and locate
  299.      builds the batch file as files  are found.  In addition, the new  /RUN
  300.      option allows you  to run a specified command  immediately on selected
  301.      files.
  302.  
  303.      If you want to delete files, you  can use the new /DEL option  (you'll
  304.      be prompted first).
  305.  
  306.      The /C option now forces LOCATE to  search the current directory ONLY;
  307.      /S has been added to search the current directory and under.
  308.  
  309.  
  310.  
  311.  
  312.      ══════════════════════════════════════════════════════════════════════
  313.      LOCATE: version 2.00                                            page 2
  314.  
  315.  
  316.      The  new  /DIR option  allows  you  to  include directory  entries  in
  317.      searches.
  318.  
  319.      You can  find files last  modified within  a specified number  of days
  320.      using the /AGE= option.
  321.  
  322.      To jump to the directory of the first find, use the new /CD option.
  323.  
  324.      The  new /AUTO  option can  be used  to suppress  initial confirmation
  325.      prompts when using /SET, /DEL, /BATCH, or /RUN options.
  326.  
  327.      Use the new /### option to  limit the number of files that  are listed
  328.      and/or /SET by LOCATE (for example, /1 stops after the first file).
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.      ══════════════════════════════════════════════════════════════════════
  371.      LOCATE: version 2.00                                            page 3
  372.  
  373.  
  374.                                                  Chapter 2: Getting Started
  375.      ──────────────────────────────────────────────────────────────────────
  376.  
  377.      System Requirements
  378.      ═══════════════════
  379.      LOCATE requires an IBM-PC, IBM-PC/AT, or 100% compatible computer with
  380.      at least 95 Kbytes of available memory.  For some options, as  much as
  381.      125 Kbytes of memory must be available.  You must be running MS-DOS or
  382.      PC-DOS  version   3.0  or  higher.     There  is   no  display/monitor
  383.      restrictions.   A hard  disk is not  required.   In order  to use  the
  384.      NetWare (owner) options, you must be running Advanced NetWare  version
  385.      2.1 or higher.
  386.  
  387.  
  388.      Network Support
  389.      ═══════════════
  390.      You must purchase a Network  Site License in order to use  LOCATE in a
  391.      local area network  environment.  Please refer to  Appendix A, page 46
  392.      for more  information.   LOCATE  is  completely compatible  with  most
  393.      network environments.   LOCATE  offers added  functionality for  users
  394.      under  Novell NetWare,  Advanced  2.1x -  3.11.   Note  that for  some
  395.      network options,  you must have  minimum rights or  access privileges.
  396.      See "Network Access Requirements", page 34, for detailed information.
  397.  
  398.  
  399.      Installing LOCATE
  400.      ═════════════════
  401.      To install LOCATE on your computer, simply copy the distribution file,
  402.      LOCATE.EXE, to any directory in your PATH  or NetWare Search MAP.  See
  403.      your  DOS documentation  for  detailed information  on  the DOS  PATH.
  404.      Enter LOCATE (or LOCATE /?) for a quick summary of all options.
  405.  
  406.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  407.      │   You are encouraged to read this manual before using LOCATE;     │▄
  408.      │   this ensures that you will get the most from the program.       │█
  409.      │   Space restrictions on the online /? help screen prevent a       │█
  410.      │   complete description of options and features.                   │█
  411.      └───────────────────────────────────────────────────────────────────┘█
  412.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  413.  
  414.  
  415.      Using Command-Line Options
  416.      ══════════════════════════
  417.      LOCATE allows a high level of flexibility in the format of the command
  418.      line options.  The general form of the LOCATE command is:
  419.  
  420.           LOCATE [drive:][path\][*][file].[ext] [options...]
  421.                                  │       │     │    └─ spaces here optional
  422.                                  │       │     └─ one space required here
  423.                                  │       └─ minimum specification is "."
  424.                                  └─ extended wildcard option
  425.  
  426.  
  427.  
  428.      ══════════════════════════════════════════════════════════════════════
  429.      LOCATE: version 2.00                                            page 4
  430.  
  431.  
  432.      You may  omit most of the file  specification; the only requirement is
  433.      that you provide some part of the path or filename (a single period at
  434.      a minimum  - "." is the same  as "*.*").  Note that  you must place at
  435.      least one space between the file specification and the first option.
  436.  
  437.      All  white space and extra characters  WITHIN options are ignored.  In
  438.      addition,  the order  of options  is  generally not  important.   Most
  439.      options  support several variations of  the same parameter (i.e., file
  440.      size  may be  specified with  /S and  /SIZE).   For  more information,
  441.      please see "Alternate Option Specifications" in Chapter 7 (page 35).
  442.  
  443.      When specifying command-line options,  you should place the slash  "/"
  444.      character before each option.   As stated above, you  are not required
  445.      to place space  between options (only  between the file  specification
  446.      and  the first  option).    You may  place  space  within options  for
  447.      readability if you like.
  448.  
  449.      Entering the File Specification
  450.      ───────────────────────────────
  451.      As stated above, you must enter at least "." for a file specification,
  452.      i.e., "LOCATE ." means find files  matching "*.*".  When you omit  any
  453.      part  if the filename  or extension,  "*" is  generally assumed.   The
  454.      following  examples  illustrate  sample  commands and  the  associated
  455.      assumptions  that  LOCATE  makes.     See  Chapter  3,  page  10,  for
  456.      instructions  on  controlling  the scope  of  directories  that LOCATE
  457.      searches.
  458.  
  459.      LOCATE .                 ... *.* is searched
  460.      LOCATE BACKUP            ... BACKUP.* is searched
  461.      LOCATE BACKUP.           ... BACKUP. is searched
  462.      LOCATE BACKUP*           ... BACKUP*.* is searched
  463.      LOCATE .EXE              ... *.EXE is searched
  464.      LOCATE .E*               ... *.E* is searched
  465.  
  466.      Using the Extended Wildcard Option
  467.      ──────────────────────────────────
  468.      The new extended wildcard option allows  you to search for files where
  469.      a specified text occurs anywhere in the filename or extension.  To use
  470.      this  feature, simply place an asterisk  "*" before the filename.  See
  471.      the following examples:
  472.  
  473.      LOCATE *92               ... "92" occurs anywhere in filename[.ext]
  474.      LOCATE \BACKUP\*DOC      ... "DOC" occurs anywhere in filename[.ext]
  475.      LOCATE C:\*SIGN.DAT      ... "SIGN" occurs in filename (.DAT ignored)
  476.  
  477.      This feature is useful when you know part of the  filename but you are
  478.      not certain  that it  is always  the FIRST  part.   Note  that if  you
  479.      specify an extension when using  the extended wildcard option, it will
  480.      be ignored.
  481.  
  482.  
  483.  
  484.  
  485.  
  486.      ══════════════════════════════════════════════════════════════════════
  487.      LOCATE: version 2.00                                            page 5
  488.  
  489.  
  490.      LOCATE  displays  the  following  status  line  to indicate  that  the
  491.      extended wildcard option is active:
  492.  
  493.      Searching : *< 92 >*     ... displayed on LOCATE *92 (see above)
  494.      Start Path: X:\DIRNAME
  495.  
  496.  
  497.      The LOCATE File Display
  498.      ═══════════════════════
  499.      LOCATE  displays  the  following  information for  each  file  that is
  500.      located: path  specification,  filename, extension,  file  size,  last
  501.      modified date, last  modified time, and  file attributes.  If  you are
  502.      attached to a Novell NetWare server, the file owner name is displayed.
  503.      See the following sample display:
  504.  
  505.      D:\WP51\DOC\          SS_MLOC .RPT    145968 07-30-91  1:25a A--- DRH
  506.      D:\WP51\DOC\          SS_LOGS .MAS       445 01-07-92  9:59a AR-- DRH
  507.      D:\WP51\DOC\          SS_RLLOC.LTR     13060 12-29-91  4:13p A--- DRH 
  508.      D:\WP51\DOC\          SS_LICEN.PRO      9998 12-29-91  4:10p A--- DRH 
  509.      D:\WP51\DOC\          BACKUPS        < DIR > 12-01-91  1:12p A--- SUP+
  510.      D:\WP51\DOC\          ARCHIVES       < DIR > 12-01-91  1:13p A--- SUP+
  511.  
  512.      The  file  path may  be abbreviated  if  there is  not enough  room to
  513.      display the entire path; for example,  "D:\WP51\BACKUPS\HIST\...\DOCS"
  514.      may be displayed.  For directory entries (see /DIR option), "<  DIR >"
  515.      is displayed in place of the size.
  516.  
  517.      The attributes are indicated if ON (set), else a hyphen (-) is used to
  518.      indicate that  the attribute  is OFF (not  set).   The attributes  are
  519.      indicated in  the order listed below.  For example, SS_LOGS.MAS in the
  520.      list above has the Archive and ReadOnly attribute ON.
  521.  
  522.           - A = Archive       ... file has been modified since last backup
  523.           - R = ReadOnly      ... cannot write to or delete file
  524.           - S = System        ... for system use (hidden)
  525.           - H = Hidden        ... for system use (hidden)
  526.  
  527.      For Novell NetWare  environments, the file owner will  be displayed to
  528.      the  right of the attributes  list.  If the file  owner name is longer
  529.      than three  characters, then  the first three  characters of  the name
  530.      will be displayed,  followed by  a plus  (+) sign.   For example,  the
  531.      supervisor user  would be displayed  as "SUP+", as  illustrated above.
  532.      The following outlines  the meaning for values displayed  in the owner
  533.      position:
  534.  
  535.           - any three characters   ... owner name
  536.           - any three characters+  ... partial owner name
  537.           - ???                    ... error getting owner information
  538.           - ---                    ... no owner (owner deleted)
  539.           - Lcl                    ... local drive, no owner information
  540.  
  541.  
  542.  
  543.  
  544.      ══════════════════════════════════════════════════════════════════════
  545.      LOCATE: version 2.00                                            page 6
  546.  
  547.  
  548.      Interrupting LOCATE
  549.      ═══════════════════
  550.      To interrupt a  file scan while in progress, press the ESCAPE key, the
  551.      Space-Bar, or ENTER.  You will be presented with the following prompt:
  552.  
  553.      PAUSED: <C>ont  <N>ext  Ch<D>ir:X:\XXXXXX\XXXXXX  <A>bort: N
  554.  
  555.      The following keys are available from the pause prompt.  Note that the
  556.      default option (<N>ext) may be selected by simply pressing ENTER.
  557.  
  558.           - C  ... Continuous (continue without subsequent screen pauses)
  559.           - N  ... Next Screen (continue and pause when screen is full)
  560.           - D  ... change to the Directory specified and exit
  561.           - A  ... Abort
  562.  
  563.      To immediately interrupt LOCATE during  a file scan (and abort), press
  564.      Ctrl-C or Ctrl-Break.  You will NOT be presented with an option prompt
  565.      and the scan will  terminate as soon as possible.   This is used  when
  566.      you  want to abort  the scan immediately.   This Break  option is also
  567.      useful if you are using the /TEXT  option and you just reached a  60Mb
  568.      file that  you do not  intend to search  (searching a file  this large
  569.      could  take 20  seconds  to  2 minutes  depending  on your  hardware).
  570.      LOCATE will  not check for  ESCAPE, Space-Bar, or ENTER  while looking
  571.      inside  a file,  but  Ctrl-Break is  checked  periodically during  all
  572.      processes (including the /TEXT search).
  573.  
  574.      Note that  you can use  the /P option  on the  command line or  in the
  575.      LOCATE environment variable to force automatic pauses  when the screen
  576.      is  full.    See  "Miscellaneous  Options",  page  12,  for additional
  577.      information.
  578.  
  579.  
  580.      Setting LOCATE Defaults
  581.      ═══════════════════════
  582.      You  may customize  the default  behavior of LOCATE  by setting  a DOS
  583.      environment variable  (called "LOCATE")  using  the supported  command
  584.      line options.
  585.  
  586.      To set the environment variable, include the following command in your
  587.      AUTOEXEC.BAT file:  "SET LOCATE=<options...>".  The  following options
  588.      may  be specified  in the  LOCATE environment  variable (order  is not
  589.      important).
  590.  
  591.      Note that all options are supported from the command line.  The use of
  592.      /M  and  /BIOS  is  generally restricted  to  the  LOCATE  environment
  593.      variable  (to ensure  that the  flags are  set before  LOCATE displays
  594.      anything).
  595.  
  596.           - /S      ... Search current directory and under
  597.           - /P      ... Pause display when screen is full
  598.           - /Q      ... Quiet (no status information is displayed)
  599.  
  600.  
  601.  
  602.      ══════════════════════════════════════════════════════════════════════
  603.      LOCATE: version 2.00                                            page 7
  604.  
  605.  
  606.           - /M      ... Mono (use to suppress colors)
  607.           - /BIOS   ... force ROM-BIOS calls for video output
  608.           - /DIR    ... include DIRectory entries in the file search
  609.           - /NONET  ... ignore Novell NetWare even if detected
  610.           - /TL###  ... for /TEXT - lines of text to display (0 - 512) 
  611.           - /OCCUR  ... for /TEXT - count occurrences (default)
  612.           - /CASE   ... for /TEXT - case sensitive
  613.           - /BF...  ... for /BATCH - batch file name
  614.  
  615.      The options above are described in detail in the sections that follow.
  616.      Note  that all of  these options are supported  from the command line;
  617.      however, the  use of /M, /BIOS, and  /NONET is generally restricted to
  618.      the LOCATE environment variable.
  619.  
  620.      The /M option suppresses display  of colors (intensity is still used).
  621.      You should only  use this option if  you use a monochrome  monitor and
  622.      some characters are missing from the LOCATE file display.
  623.  
  624.      The /BIOS option should be used if your video hardware is not 100% IBM
  625.      compatible and/or the display appears erratic, garbled, or slow.  Note
  626.      that display  performance may be  poor when  using this option.   Some
  627.      users with CGA monitors report improved display performance when using
  628.      the /BIOS option in the LOCATE environment variable.
  629.  
  630.      Use /NONET to suppress Novell NetWare support. This option is provided
  631.      for flexibility.  Note  that you will not see the owner  name for each
  632.      file and you will be unable to  use the owner functions (/O=, /O NOT=,
  633.      /SET O=) when using the /NONET option.
  634.  
  635.      The  /TL### option  is used to  specify the default  number of offset/
  636.      occurrence lines to display when using the /TEXT option (see page 21).
  637.      If you  do not specify a value,  then 10 is the default.   To use this
  638.      option, simply provide the maximum  number after the /TL option, i.e.,
  639.      /TL250  (to increase the  maximum to 250).   You may  enter any value;
  640.      however, the  approximate maximum  for most environments  is 512.   To
  641.      list  no offset lines  by default, specify  /TL0.  Do  not use the '='
  642.      (equals) character in  this option, i.e., /TL=###.   While this format
  643.      is supported on  the command  line, it  is not allowed  in the  LOCATE
  644.      environment variable.
  645.  
  646.      The  /OCCUR option  instructs LOCATE  to count  and display  the total
  647.      number of occurrences when doing a  /TEXT search.  If you do not  want
  648.      to see  the total  number of  text occurrences,  then use  /NOOCCUR to
  649.      suppress this feature.
  650.  
  651.      Use the /CASE option to preform case sensitive searches when using the
  652.      /TEXT option.   To find text occurrences  without respect to  upper or
  653.      lower case, use the /NOCASE switch.
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.      ══════════════════════════════════════════════════════════════════════
  661.      LOCATE: version 2.00                                            page 8
  662.  
  663.  
  664.      The /BF... options is used to specify the batch file name for use with
  665.      the /BATCH option.  Use  the format /BF<file name>, i.e., /BFtemp.bat.
  666.      Do not use the '=' (equals)  character in this option, i.e.,  /BF=....
  667.      While this format is supported on the command line, it is  not allowed
  668.      in the LOCATE environment variable.
  669.  
  670.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  671.      │   When you use the /TL###, /OCCUR, or /CASE options, LOCATE does  │▄
  672.      │   NOT prompt for the respective information before the search.    │█
  673.      │   To override one of these defaults on the command line, simply   │█
  674.      │   use the converse option (i.e., use /NOCASE to override /CASE).  │█
  675.      └───────────────────────────────────────────────────────────────────┘█
  676.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  677.  
  678.      The following  environment variable value  enables the /S, the  /P and
  679.      the /DIR flags.  Note that you may specify the options in any order.
  680.  
  681.           SET LOCATE=/S/P/DIR
  682.  
  683.      The following  environment variable value sets defaults  for the /TEXT
  684.      option (125 offset lines maximum, count occurrences, no case).
  685.  
  686.           SET LOCATE=/TL125 /OCCUR /CASE     ... spaces are optional
  687.  
  688.      The  following environment variable establishes defaults for the /TEXT
  689.      option (250 offset lines maximum, count occurrences, no case), and for
  690.      the /BATCH option (file name is TEMP.BAT).   In addition, all searches
  691.      will   begins  at   the   current   subdirectory   and   include   all
  692.      subdirectories; screen pauses  are enabled; and directory  entries are
  693.      included in all searches.
  694.  
  695.           SET LOCATE=/TL250/OCCUR/NOCASE/BFTEMP.BAT/S/P/DIR
  696.  
  697.      The following  commands may be used to  override the /CASE option (see
  698.      the previous example).
  699.  
  700.           LOCATE FILE.EXT /NOCASE            ... reverses default
  701.           LOCATE FILE.EXT /CASE-             ... you will be prompted
  702.  
  703.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  704.      │   To override any default that has been established in the LOCATE │▄
  705.      │   environment variable, simply supply the option on the command   │█
  706.      │   line followed by a hyphen "-" sign, i.e., "LOCATE . /P-".       │█
  707.      │   To override all defaults, specify "/LOCATE-" or simply "/-".    │█
  708.      │                                                                   │█
  709.      │   If you override /TL###, /OCCUR, or /CASE, or /BF... in this     │█
  710.      │   way, then you will be prompted for the options (just as if no   │█
  711.      │   environment variable default existed).                          │█
  712.      └───────────────────────────────────────────────────────────────────┘█
  713.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  714.  
  715.  
  716.  
  717.  
  718.      ══════════════════════════════════════════════════════════════════════
  719.      LOCATE: version 2.00                                            page 9
  720.  
  721.  
  722.                                              Chapter 3: Searching for Files
  723.      ──────────────────────────────────────────────────────────────────────
  724.  
  725.      Controlling the Scope of File Searches
  726.      ══════════════════════════════════════
  727.      By  default, LOCATE  begins  searches  at the  root  directory of  the
  728.      current  drive and  searches all  directories.   All file  entries are
  729.      scanned, while directory entries are  ignored.  To modify this default
  730.      scan scope, you must either:
  731.  
  732.           (1)  Explicitly specify a starting directory as part of the  file
  733.                specification, i.e., "LOCATE ..\D*.BAT", "LOCATE \.COM", or
  734.  
  735.           (2)  Use one of  the command line options that  control the scope
  736.                of the directories that are  scanned.  Each of the following
  737.                options is described below: /C, /S, /DIR, /V=, and /PATH.
  738.  
  739.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  740.      │   The /S and /DIR options may be specified in the LOCATE          │▄
  741.      │   environment variable (to modify the default search scopes).     │█
  742.      │   See "Setting LOCATE Defaults", page 7 for Instructions.         │█
  743.      └───────────────────────────────────────────────────────────────────┘█
  744.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  745.  
  746.      /C Option: Current Directory Only
  747.      ─────────────────────────────────
  748.      The  /C option  forces LOCATE  to  search the  current (or  specified)
  749.      directory ONLY.   This is useful when  using /TEXT, /BATCH, or  any of
  750.      the /SET options.
  751.  
  752.      Examples:
  753.  
  754.      LOCATE .EXE /C           ... searches in current directory only
  755.      LOCATE \BACKUP\.COM /C   ... searches in \BACKUP directory only
  756.  
  757.      /S Option: Current Directory and Under
  758.      ──────────────────────────────────────
  759.      The  /S option  forces LOCATE  to  search the  current (or  specified)
  760.      directory and all directories it contains.  Many users  prefer to make
  761.      the /S option a permanent default.  If you generally search relatively
  762.      small  volumes,  then  searching  from  the root  is  not  a  problem.
  763.      However, if you  are on a network with 500Mb volumes, then you may not
  764.      want every search to start at the root.
  765.  
  766.      Note that if  you specify a  starting path in the  file specification,
  767.      the /S option is implied (see the third example below).
  768.  
  769.      Examples:
  770.  
  771.      LOCATE .EXE /S           ... searches current directory and under
  772.      LOCATE \BACKUP\.COM /S   ... searches in \BACKUP directory and under
  773.      LOCATE \BACKUP\.COM      ... same search (/S assumed)
  774.  
  775.  
  776.      ══════════════════════════════════════════════════════════════════════
  777.      LOCATE: version 2.00                                           page 10
  778.  
  779.  
  780.      /DIR Option: Include Directory Entries
  781.      ──────────────────────────────────────
  782.      The /DIR  option includes directory  entries in the LOCATE  file scan.
  783.      Normally, directory names  are not listed even if they  match the file
  784.      specification.  Many users prefer to make  the /DIR option a permanent
  785.      default.   Note that /SET  operations are not currently  supported for
  786.      directory entries (the /DIR option is ignored on any /SET).
  787.  
  788.      /V= Option: Volume/ Drive List
  789.      ──────────────────────────────
  790.      To force  LOCATE to search  multiple drives for a  file specification,
  791.      use  the   /V=  option.    The  general   format  of  this  option  is
  792.      /V=<drive list...>.  When specifying the  drives to search, colons and
  793.      white space are ignored.   Note that when the /V=  option is supplied,
  794.      the  search always  starts at  the root  directory, even  if you  have
  795.      specified a starting path.
  796.  
  797.      Examples:
  798.  
  799.      LOCATE .COM /V=C: D:     ... searches from the root of C:, then D:
  800.      LOCATE .COM /V=CD        ... same search
  801.      LOCATE \DOS\.COM /V=CD   ... same search (start path is ignored)
  802.  
  803.      Note that invalid  drive specifications are removed from  the /V= list
  804.      before LOCATE begins the scan.  For example, if you include  /V=CDE on
  805.      a system where E: does not exist, it will automatically be removed.
  806.  
  807.      If you  are performing  a network operation  (restricting the  scan by
  808.      file owner  or setting  the file owner),  then all  local drives  will
  809.      automatically be  removed from the search  list.  In  addition, if you
  810.      specify any file owner  option, LOCATE will verify  the owner for  the
  811.      specified path or volume.   For example, assume that drive  G: maps to
  812.      SERVER1/SYS: and drive J: maps to SERVER2/SYS:.   If you specify /V=GJ
  813.      with an  owner option  (/O=, /O !=,  or /SET  O=), then  the specified
  814.      owner must be valid on both SERVER1 and SERVER2.  If the user is valid
  815.      on SERVER1 only, then J: will be automatically removed from the list.
  816.  
  817.      /PATH Option: Search DOS PATH or NetWare Search MAP
  818.      ───────────────────────────────────────────────────────
  819.      To search the DOS  PATH or the NetWare Search MAP  only, use the /PATH
  820.      option.  This is especially helpful when you want to find the location
  821.      of executable programs  (i.e., programs that you run  with .COM, .BAT,
  822.      and  .EXE extensions).    Note that  the /PATH  option  search is  not
  823.      limited  to  executable  files;  you  may  specify  any  valid  search
  824.      specification.    If  you specify  a  path  as  a  part  of  the  file
  825.      specification, it will be ignored.
  826.  
  827.      Examples:
  828.  
  829.      LOCATE ED /PATH          ... searches for ED.* in the PATH only
  830.      LOCATE \DOS\ED           ... same search (path, (\DOS) is ignored)
  831.  
  832.  
  833.  
  834.      ══════════════════════════════════════════════════════════════════════
  835.      LOCATE: version 2.00                                           page 11
  836.  
  837.  
  838.      Note  that LOCATE automatically ignores invalid path specifications in
  839.      /PATH.  This includes  directories that do not exist  and volumes that
  840.      should not be  scanned because of a  specifed owner option.   For more
  841.      information, see the previous section "/V= Option".
  842.  
  843.  
  844.      Miscellaneous Options
  845.      ═════════════════════
  846.      This section provides  descriptions for  several miscellaneous  LOCATE
  847.      command  line options.   Each  of the  following options  is described
  848.      below: /P, /Q, /CD, and /R.
  849.  
  850.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  851.      │   The /P and /Q options may be specified in the LOCATE            │▄
  852.      │   environment variable (to modify the default search scopes).     │█
  853.      │   See "Setting LOCATE Defaults", page 7 for Instructions.         │█
  854.      └───────────────────────────────────────────────────────────────────┘█
  855.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  856.  
  857.      /P Option: Pause Display
  858.      ────────────────────────
  859.      Unless your  search specification  or file  operation involves  a very
  860.      small number  of files,  the LOCATE file  display will  quickly scroll
  861.      away before you can read the information.  To prevent this, use the /P
  862.      option to pause the display when full.
  863.  
  864.      As stated above, you can place this option in the environment variable
  865.      as a  permanent default (and most users do).   When the screen pauses,
  866.      you will be  presented with the following  prompt (just as if  you had
  867.      pressed ESCAPE, Space-Bar, or ENTER during the file scan):
  868.  
  869.      PAUSED: <C>ont  <N>ext  Ch<D>ir:X:\XXXXXX\XXXXXX  <A>bort: N
  870.  
  871.      Please refer to  "Interrupting LOCATE", page 7, for  an explanation of
  872.      options at this prompt.   Note that when you select  the <C>ont option
  873.      (continuous), you essentially turn off the /P option (although you can
  874.      still force a pause by pressing ESCAPE, Space-Bar, or ENTER).
  875.  
  876.      /Q Option: Quiet Display
  877.      ────────────────────────
  878.      The /Q option suppresses the  status line that LOCATE uses  to display
  879.      the current directory and file information.  On some (slower) systems,
  880.      especially if  using the /BIOS option,  you may notice a  slight speed
  881.      improvement when  using this option.   In most cases,  the performance
  882.      difference is not significant.
  883.  
  884.      Note that most users  prefer to see  the status line.   If you  decide
  885.      that  you  can  do  without  it   and  you  want  to  maximize  search
  886.      performance,  then place  the  /Q option  in  your LOCATE  environment
  887.      variable or use this option on the command line.
  888.  
  889.  
  890.  
  891.  
  892.      ══════════════════════════════════════════════════════════════════════
  893.      LOCATE: version 2.00                                           page 12
  894.  
  895.  
  896.      /CD Option: Change Directory
  897.      ────────────────────────────
  898.      The /CD option  allows you to quickly  change to the directory  of the
  899.      first match during a file  search.  This is useful when  you know that
  900.      you want  to jump  to the  directory containing  a file  that you  are
  901.      searching for.  Note that the match may occur on any drive.
  902.  
  903.      You may  change to  the directory  for any  file listed  by LOCATE  by
  904.      pressing  ESCAPE, Space-Bar, or ENTER during the  file scan.  You will
  905.      then be presented  with a menu of  options; select Ch<D>ir to  jump to
  906.      the directory  displayed.  Note  that LOCATE offers the  directory for
  907.      the last file  listed, so if the  file display scrolls by  too quickly
  908.      you may lose your opportunity!  Please refer to "Interrupting LOCATE",
  909.      page 7, for an explanation of options at the pause prompt.
  910.  
  911.      Examples:
  912.  
  913.      LOCATE \PRUNE.EXE /CD    ... change to directory containing PRUNE.EXE
  914.      LOCATE CED.COM /V=CD /CD ... change to drive/ directory for CED.COM
  915.  
  916.      /AUTO Option: Suppress Confirmation Prompts
  917.      ───────────────────────────────────────────
  918.      When using the /SET options (see Chapter  4, page 24), the /DEL option
  919.      (see Chapter 5,  page 29), or the /BATCH, /RUN options (see Chapter 6,
  920.      page 30), LOCATE displays an  initial confirmation prompt.  You should
  921.      read  the confirmation information carefully  since both /SET and /DEL
  922.      are potentially  dangerous commands.   For some applications,  you may
  923.      wish to suppress the confirmation prompt (when using LOCATE from batch
  924.      files, for example).
  925.  
  926.      To  disable  the confirmations  with  /SET,  /DEL, /BATCH,  and  /RUN,
  927.      specify the /AUTO option  on the command line.  This  forces LOCATE to
  928.      complete all requested /SET's or /DELetions WITHOUT confirmation.
  929.  
  930.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  931.      │   Please use the /AUTO option with caution.  LOCATE will begin    │▄
  932.      │   /SET's or /DELetions immediately and without any confirmation!  │█
  933.      │   You should be certain that the file specification and scope     │█
  934.      │   options are appropriate for the specified operation.            │█
  935.      └───────────────────────────────────────────────────────────────────┘█
  936.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  937.  
  938.      /### Option: Maximum Files to List or /SET
  939.      ──────────────────────────────────────────
  940.      You may specify  the maximum number of file entries to list and/or set
  941.      by using the /### option, where '###'  is any numeric value from 1  to
  942.      just over 2 billion (2,147,483,647 to be exact).
  943.  
  944.      You may want to use this option to list only the first 25 matches  for
  945.      a search specifications, for example.  This option is also useful when
  946.      performing /SET operations (especially from batch files); for example,
  947.      you may wish to /SET a property for a single file only.
  948.  
  949.  
  950.      ══════════════════════════════════════════════════════════════════════
  951.      LOCATE: version 2.00                                           page 13
  952.  
  953.  
  954.      When  entering the  maximum files  limit,  you may  insert commas  for
  955.      readability if you like (although  values this large are not generally
  956.      useful).
  957.  
  958.      The  following  command limits  the files  listed to  25 for  a simple
  959.      search specification:
  960.  
  961.      LOCATE .C /C /25
  962.  
  963.      The following  command  illustrates a  /SET operation  where only  the
  964.      first file  found  in the  current directory  is adjusted.   The  /SET
  965.      options are described in Chapter 4 (see page 24).
  966.  
  967.      LOCATE MSDRV.EXE /C /1 /SETA=R
  968.  
  969.      /R Option: Registration Information
  970.      ───────────────────────────────────
  971.      The /R option displays a  quick summary of the registration procedures
  972.      for LOCATE.   See  Appendix A,  page 46,  in this  guide for  detailed
  973.      registration information and instructions.
  974.  
  975.  
  976.      Advanced Search Options
  977.      ═══════════════════════
  978.      LOCATE supports  many advanced  file search  and manipulation  options
  979.      that  allow you  to search  for file  based on  flexible and  powerful
  980.      parameters.  For  example, you could LOCATE  all files that have  been
  981.      modified  in the past  2 days that  are larger than  100,000 bytes and
  982.      that  are  owned (under  NetWare) by  any  user other  than DRH.   The
  983.      following command would accomplish this:
  984.  
  985.      LOCATE . /AGE=2 /S=100,000- /O NOT=DRH  ... spaces are for readability
  986.  
  987.      The following options are described  in this section: /S=, /D=, /AGE=,
  988.      /T=, /A=, /O=, /O NOT=, and /TEXT.
  989.  
  990.      /S= Option: File Size Limit
  991.      ───────────────────────────
  992.      It is  often convenient  to find  files that  fall within  a range  of
  993.      sizes.   LOCATE allows  you to search  for files  that are  a specific
  994.      size, or within a specified size range.  For example, you  may wish to
  995.      find all files that are larger than 250,000 bytes.
  996.  
  997.      You can use this option  to easily locate those pesky zero-byte  files
  998.      that are often left behind by application programs.  In  addition, you
  999.      may want  to  periodically  list all  files  that are  larger  than  a
  1000.      specified size; this is a great way to free up disk space quickly (get
  1001.      rid of the largest files first).
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.      ══════════════════════════════════════════════════════════════════════
  1009.      LOCATE: version 2.00                                           page 14
  1010.  
  1011.  
  1012.      The general form of this  option is /S=[minimum size]-[maximum size]. 
  1013.      You may insert white space for readability  if you like.  In addition,
  1014.      you may  optionally use commas  within the size specifications.   When
  1015.      entering a  size range,  you may use  any non-space  character (except
  1016.      slash "/") to  delimit the size  arguments (note  that the hyphen  "-"
  1017.      character is recommended).
  1018.  
  1019.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1020.      │   When using any of the LOCATE range options (for size, date,     │▄
  1021.      │   or time), note that the respective limits are always INCLUSIVE. │█
  1022.      │   For example, the option /S=100-1,000 includes 100 and 1,000.    │█
  1023.      └───────────────────────────────────────────────────────────────────┘█
  1024.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1025.  
  1026.      The following command searches for  all *.H files under F:\SOURCE that
  1027.      are EXACTLY 1,000 bytes (not a very useful search).
  1028.  
  1029.      LOCATE F:\SOURCE\*.H /S=1,000      ... commas are optional
  1030.  
  1031.      The next command  finds all  files on  drives C: through  H: that  are
  1032.      exactly 0 bytes.  Note that  the /DEL option (described in Chapter  5,
  1033.      page 29) could be used here to erase these files.
  1034.  
  1035.      LOCATE . /V=CDEFGH /S=0
  1036.  
  1037.      The following  command searches for  all *.DAT files that  are between
  1038.      1,000 bytes and  5,000 bytes (inclusive).   Note that the white  space
  1039.      here is for readability only.
  1040.  
  1041.      LOCATE *.DAT /S=1,000 - 5,000
  1042.  
  1043.      The following command  searches for all *.LTR files that  are at least
  1044.      250,000 bytes.  Note that this is identical to the range syntax above,
  1045.      except that the second size is omitted.
  1046.  
  1047.      LOCATE .LTR /S=250,000-
  1048.  
  1049.      The  following command  searches for all  *.PRG files  under E:\SYSTEM
  1050.      that  are 1,500  bytes or less  (0 to  1,500, inclusive).   Again, the
  1051.      optional space is for readability.
  1052.  
  1053.      LOCATE E:\SYSTEM\.PRG /S= -1,500
  1054.  
  1055.      /D= Option: Last Modify Date
  1056.      ────────────────────────────
  1057.      For every file and  directory, DOS maintains a last  modified date and
  1058.      time.   When you  create or  modify a  file,  this date  and time  are
  1059.      automatically  updated.    Using LOCATE,  you  can  easily  find files
  1060.      created or updated within a specified date range or within a specified
  1061.      period of time.  Chapter 4 describes procedures for  changing the date
  1062.      and/or time using LOCATE's powerful /SET options (see page 25).
  1063.  
  1064.  
  1065.  
  1066.      ══════════════════════════════════════════════════════════════════════
  1067.      LOCATE: version 2.00                                           page 15
  1068.  
  1069.  
  1070.      You  can use this  option to list  all files created  or last modified
  1071.      today or in the past week, etc.  For example, you may  want to see all
  1072.      files changed by  an application program.  This is also useful to list
  1073.      files that have  been modified by an  installation program (especially
  1074.      useful for Windows applications!).
  1075.  
  1076.      The general  form of this option is /D=[start  date]-[end date].   You
  1077.      may insert white space for readability if  you like.  In addition, you
  1078.      may  optionally  enter the  century  year  (19xx  is assumed).    When
  1079.      entering a  date range,  you may use  any non-space  character (except
  1080.      slash  "/") to delimit  the date arguments  (note that  the hyphen "-"
  1081.      character is recommended).
  1082.  
  1083.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1084.      │   Use the special keyword "TODAY" to denote the current date.     │▄
  1085.      │   For example, /D=TODAY may be used to find files created or      │█
  1086.      │   modified today (this is equivalent to /AGE=0).                  │█
  1087.      └───────────────────────────────────────────────────────────────────┘█
  1088.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1089.  
  1090.      The following command searches for  all *.H files under F:\SOURCE that
  1091.      are were created or modified on 4-1-1993.
  1092.  
  1093.      LOCATE F:\SOURCE\*.H /D=4-1-93     ... same as /D=04-01-1993
  1094.  
  1095.      The next command  finds all files  on drives C:  through H: that  were
  1096.      created or modified on the current date (today).
  1097.  
  1098.      LOCATE . /V=CDEFGH /D=TODAY        ... same as /AGE=0
  1099.  
  1100.      The following command  searches for all *.DAT files  that were created
  1101.      or modified between the dates of 4-1-93 and 4-15-93 (inclusive).  Note
  1102.      that the white space here is for readability only.
  1103.  
  1104.      LOCATE *.DAT /D=4-1-93 - 4-15-93
  1105.  
  1106.      The following command  searches for all *.LTR files  that were created
  1107.      or modified on or after  4-1-93.  Note that  this is identical to  the
  1108.      range syntax above, except that the second date is omitted.
  1109.  
  1110.      LOCATE .LTR /S=4-1-93 -
  1111.  
  1112.      The following  command searches  for all *.PRG  files under  E:\SYSTEM
  1113.      that were created or  last modified on or before 4-15-93.   Again, the
  1114.      optional space is for readability.
  1115.  
  1116.      LOCATE E:\SYSTEM\.PRG /D= -4-15-93
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.      ══════════════════════════════════════════════════════════════════════
  1125.      LOCATE: version 2.00                                           page 16
  1126.  
  1127.  
  1128.      /AGE= Option: Last Modify Date
  1129.      ──────────────────────────────
  1130.      The /AGE=  option is  an extension  of the  /D=  option (see  previous
  1131.      section).  This option allows you to search for files created  or last
  1132.      modified within a specified number of days.  For example, you may wish
  1133.      to find files modified within the past five days.
  1134.  
  1135.      When using the /AGE= option, you must  specify the number of days; the
  1136.      valid range is from 0 (today) to 365 (1 year ago).  The general format
  1137.      of  this option is  /AGE=<number of days>.   Note that  if you specify
  1138.      /AGE=0, then all files created or modified on the current date will be
  1139.      listed (this is equivalent to specifying /D=TODAY).
  1140.  
  1141.      The following command searches for  all *.H files under F:\SOURCE that
  1142.      were created or modified on the current day (today).
  1143.  
  1144.      LOCATE F:\SOURCE\*.H /AGE=0        ... same as /D=TODAY
  1145.  
  1146.      The  next command finds  all files on  drives C: through  H: that were
  1147.      created or modified within the past three days.
  1148.  
  1149.      LOCATE . /V=CDEFGH /AGE=3          ... today and three days prior
  1150.  
  1151.      The following command  searches for all *.DAT files  that were created
  1152.      or modified within the past two months.
  1153.  
  1154.      LOCATE *.DAT /AGE=60
  1155.  
  1156.      /T= Option: Last Modify Time
  1157.      ────────────────────────────
  1158.      For  every file and directory, DOS maintains  a last modified date and
  1159.      time.   When  you create  or modify  a file,  this date  and  time are
  1160.      automatically updated.    Using  LOCATE,  you can  easily  find  files
  1161.      created or updated within a specified date range or within a specified
  1162.      period  of time.  Chapter 4 describes procedures for changing the date
  1163.      and/or time using LOCATE's powerful /SET options (see page 26).
  1164.  
  1165.      You can use this option to list all files  created or last modified at
  1166.      a specified time or within a  specified time range.  For example,  you
  1167.      may want to see all files modified in the past hour.
  1168.  
  1169.      The general form of  this option is /T=[start hh:mm]-[end hh:mm].  You
  1170.      may insert white space for readability if you like.  You  should enter
  1171.      the time in 24 hour format; 0:00 is midnight, 12:00 is noon, and 23:59
  1172.      is  11:59pm.    You should  NOT  enter  a value  for  seconds  (:00 is
  1173.      assumed).   When entering  a time  range,  you may  use any  non-space
  1174.      character (except slash "/") to  delimit the time arguments (note that
  1175.      the hyphen "-" character is recommended).
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.      ══════════════════════════════════════════════════════════════════════
  1183.      LOCATE: version 2.00                                           page 17
  1184.  
  1185.  
  1186.      The following command searches for  all *.H files under F:\SOURCE that
  1187.      were created or modified at 5:00am (on any date).  This  may be useful
  1188.      for  applications that  use the  time stamp  to indicate  the software
  1189.      version (note that LOCATE.EXE should be time stamped with the version;
  1190.      for example, version 2.00 should be stamped 2:00am.
  1191.  
  1192.      LOCATE F:\SOURCE\*.H /T=5:00
  1193.  
  1194.      The following command  searches for all *.DAT files  that were created
  1195.      or modified between the times of  1:00am and 5:00am (inclusive).  Note
  1196.      that the white space here is for readability only.
  1197.  
  1198.      LOCATE *.DAT /T=1:00 - 5:00
  1199.  
  1200.      The following command  searches for all *.LTR files  that were created
  1201.      or modified at  or after 2:30pm.   Note that this is identical  to the
  1202.      range syntax above, except that the second time is omitted.
  1203.  
  1204.      LOCATE .LTR /T=14:30 -
  1205.  
  1206.      The  following command  searches for  all *.PRG files  under E:\SYSTEM
  1207.      that were created  or last modified at  or before 6:00pm.   Again, the
  1208.      optional space is for readability.
  1209.  
  1210.      LOCATE E:\SYSTEM\.PRG /T= -18:00
  1211.  
  1212.      /A= Option: File Attributes
  1213.      ───────────────────────────
  1214.      For every  file, DOS  maintains an attribute  byte that  contains four
  1215.      flags (or bits) as described in  this section (other bits in the  file
  1216.      attribute byte are  used by DOS to indicate a volume  label entry or a
  1217.      directory entry).   For detailed information  on DOS file  attributes,
  1218.      please consult your  DOS documentation.  A brief  description of these
  1219.      attributes is provided.
  1220.  
  1221.      Archive   This flag  is used by  Backup, XCopy, and other  programs to
  1222.                determine  which files  have been  modified  since the  last
  1223.                backup.  If  the file has been  modified, then this flag  is
  1224.                set (or ON).
  1225.  
  1226.      ReadOnly  This flag prevents a file from being changed or deleted.
  1227.  
  1228.      Hidden    This  flag  prevents the  file  from  being  displayed in  a
  1229.                directory listing.  Note that you can still use the file (if
  1230.                you know the filename).
  1231.  
  1232.      System    This  flag designates  the file  as a  system file.   System
  1233.                files are hidden from display  in a directory listing.  This
  1234.                flag is generally reserved for use by  DOS.  MS-DOS sets the
  1235.                System bit/flag ON for MSDOS.SYS and IO.SYS.
  1236.  
  1237.  
  1238.  
  1239.  
  1240.      ══════════════════════════════════════════════════════════════════════
  1241.      LOCATE: version 2.00                                           page 18
  1242.  
  1243.  
  1244.      LOCATE allows you to search for files that match specified attributes.
  1245.      For example, you  may wish to find  all hidden and/or system  files on
  1246.      your disk (especially helpful after installing new software).  You may
  1247.      wish to see all files that have been changed (i.e., the Archive bit is
  1248.      set ON).
  1249.  
  1250.      Chapter  4 describes  procedures  for  changing  the  file  attributes
  1251.      (setting  individual flags  ON or  OFF) using  LOCATE's  powerful /SET
  1252.      options (see page 26).  You can use this feature to protect files (set
  1253.      ReadOnly  ON) or  to  hide  files from  prying  eyes  (set the  Hidden
  1254.      attribute ON).
  1255.  
  1256.      The general form of the Attribute option is /A=<attributes>.  List the
  1257.      attributes by  first letter only,  i.e., A, R, S,  and/or H.   As with
  1258.      other  options, white  space and  extra  characters are  ignored.   In
  1259.      addition, the order of attributes in the list is not important.
  1260.  
  1261.      The following command  will search for all files  on drives C: through
  1262.      H: that have been modified (Archive bit set ON) since the last backup.
  1263.  
  1264.      LOCATE . /V=CDEFGH /A=A
  1265.  
  1266.      If you include more  that one attribute flag in the  list, then LOCATE
  1267.      will display matching files where  ANY ONE of the specified attributes
  1268.      is  set ON.   For example, the  following command will  search for all
  1269.      *.EXE files that have the Hidden or System attribute, or both.
  1270.  
  1271.      LOCATE *.EXE /A=HS
  1272.  
  1273.      Use  the following  command to  find  all the  Hidden, System,  and/or
  1274.      ReadOnly  files  and directories  on  your  system (assume  drives  C:
  1275.      through H:).   Note that  the /DIR option includes  directory entries;
  1276.      the /P option ensures pauses when the screen is full.
  1277.  
  1278.      LOCATE . /V=CDEFGH /A=HSR /DIR /P  ... spaces for readability
  1279.  
  1280.      /O= Option: File Owner
  1281.      ──────────────────────
  1282.      If you  are running LOCATE  in a Novell NetWare  environment, then you
  1283.      may search  for files  by owner  name.   This is  a great  feature for
  1284.      network  administrators  that need  to  quickly see  files  created or
  1285.      modified  by a  specified user  (or by  all users  EXCEPT  a specified
  1286.      user).
  1287.  
  1288.      Chapter 4  describes procedures  for changing  the NetWare  file owner
  1289.      using  LOCATE's  powerful  /SET  options  (see  page   28).    Network
  1290.      administrators can  use this feature  to assign ownership of  files to
  1291.      any valid user.  Note that  NetWare requires minimum access rights for
  1292.      many of the operations performed by LOCATE.   Please refer to "Network
  1293.      Access  Requirements", page 34,  for detailed rights  requirements for
  1294.      your version of NetWare.
  1295.  
  1296.  
  1297.  
  1298.      ══════════════════════════════════════════════════════════════════════
  1299.      LOCATE: version 2.00                                           page 19
  1300.  
  1301.  
  1302.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1303.      │   When using the /O owner option, files on LOCAL drives will be   │▄
  1304.      │   ignored, even if they match the search specification.  NetWare  │█
  1305.      │   does not maintain owner information for files on LOCAL drives.  │█
  1306.      │                                                                   │█
  1307.      │   In addition, LOCATE automatically removes paths or volumes from │█
  1308.      │   /PATH and /V= when the path is not valid for a specified file   │█
  1309.      │   owner.  See "/PATH" and "/V=" sections in this chapter for      │█
  1310.      │   detailed information.                                           │█
  1311.      └───────────────────────────────────────────────────────────────────┘█
  1312.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1313.  
  1314.      The general form of the owner option is /O=<user name>.  If you supply
  1315.      a user name that is not valid  for the search specification (i.e., for
  1316.      the volume(s)  being searched), then  you will  receive an error.   As
  1317.      with other options, white space and extra  characters are ignored.  In
  1318.      addition, case  is not important  (enter the owner  in upper  or lower
  1319.      case; LOCATE will convert to uppercase automatically).
  1320.  
  1321.      The following command searches for  all *.H files under F:\SOURCE that
  1322.      are owned by user "DRH".
  1323.  
  1324.      LOCATE F:\SOURCE\*.H /O=DRH
  1325.  
  1326.      The next  command finds  all files on  drives C:  through H:  that are
  1327.      owned by user "JDOE".
  1328.  
  1329.      LOCATE . /V=CDEFGH /O=JDOE    ... local drives will be ignored
  1330.  
  1331.      The following command searches for all *.DAT files on drives I: and J:
  1332.      that are owned by  user "SUSANJ".   Note that drive I:  or J: must  be
  1333.      mapped to a server where "SUSANJ" is a valid user.
  1334.  
  1335.      LOCATE *.DAT /V=IJ /O=SUSANJ
  1336.  
  1337.      The following command  searches for all *.LTR files  under the current
  1338.      directory that are owned by the SUPERVISOR.
  1339.  
  1340.      LOCATE .LTR /S /O=SUPERVISOR
  1341.  
  1342.      The following  command finds all files on the current volume that have
  1343.      NO  owner (this  happens when  the  existing owner  bindery object  is
  1344.      deleted).
  1345.  
  1346.      LOCATE \. /O=                 ... just leave the owner name blank
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.      ══════════════════════════════════════════════════════════════════════
  1357.      LOCATE: version 2.00                                           page 20
  1358.  
  1359.  
  1360.      /O NOT= Option: NOT File Owner
  1361.      ──────────────────────────────
  1362.      The /O  EXCLUDE option (/O  NOT=) is an  extension of the  /O= option;
  1363.      please see the  previous section for more information on  the usage of
  1364.      the owner option in Novell NetWare environments.
  1365.  
  1366.      The use of the /O EXCLUDE option is identical to the /O= option.   The
  1367.      general form of this command  is /O NOT=<user name>; the  space before
  1368.      "NOT"  is for readability only.  You  may alternatively use the syntax
  1369.      /O !=<user name>.
  1370.  
  1371.      Note that  when using  the /O  NOT= option,  you may  leave the  owner
  1372.      specification blank to see  files owned by any user  (see last example
  1373.      in previous section).  This simply excludes files without owners.
  1374.  
  1375.      The following command searches for  all *.H files under F:\SOURCE that
  1376.      are owned by all users EXCEPT user "DRH".
  1377.  
  1378.      LOCATE F:\SOURCE\*.H /O NOT= DRH   ... same as /O!=DRH or /O != DRH
  1379.  
  1380.      The  next command  finds all files  on drives  C: through H:  that are
  1381.      owned by all users EXCEPT user "JDOE".
  1382.  
  1383.      LOCATE . /V=CDEFGH /O NOT= JDOE    ... local drives will be ignored
  1384.  
  1385.      /TEXT Option: File Contents
  1386.      ───────────────────────────
  1387.      In many cases, if you are searching for lost information or files, you
  1388.      may know the  "contents" of the files, even though you do not know how
  1389.      the files are named.  For example, if someone on the network completed
  1390.      a proposal a  year ago and no one knows where  the document is stored,
  1391.      then you can use LOCATE to list all files containing some text that is
  1392.      unique to  the  lost  document.    Also, this  is  a  great  tool  for
  1393.      programmers.  You can use LOCATE to list all occurrences of a specific
  1394.      function  call or  to list  all programs where  a specified  header is
  1395.      used, etc.
  1396.  
  1397.      Note that  you may  specify options  (on the  command line  or in  the
  1398.      LOCATE  environment variable) that  establish defaults for  most /TEXT
  1399.      parameters.  Refer to "Setting LOCATE Defaults" on page 7 for detailed
  1400.      information and instructions.   In addition, you may  specify the text
  1401.      to  search for by using the  following format: /TEXT="search text...".
  1402.      This allows you to specify all /TEXT options without prompts.
  1403.  
  1404.      The following  /TEXT option prompts  are provided unless  specified in
  1405.      the LOCATE  environment variable or  on the command  line.  Note  that
  1406.      many  options offer  a default  response  (press ENTER  to accept  the
  1407.      default where available).
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.      ══════════════════════════════════════════════════════════════════════
  1415.      LOCATE: version 2.00                                           page 21
  1416.  
  1417.  
  1418.      Search For                    This  is the target search text.  Unless
  1419.                                    you  intend  to  do   a  case  sensitive
  1420.                                    search, you  can enter  the text in  any
  1421.                                    case    (upper   or    lower).       Use
  1422.                                    /TEXT="search  text..."  on  the command
  1423.                                    line if desired.
  1424.  
  1425.      List Number of Occurrences    Select <Y>es  to have  LOCATE count  the
  1426.                                    total number of text occurrences in each
  1427.                                    file where a match is found.  Use /OCCUR
  1428.                                    or  /NOOCCUR on the  command line  or in
  1429.                                    the LOCATE environment variable.
  1430.  
  1431.      List Offsets/ Contents        Select <Y>es to have  LOCATE display the
  1432.                                    text surrounding each match (by default,
  1433.                                    up to 10 occurrences will be displayed).
  1434.                                    Use /TL### on the command line or in the
  1435.                                    LOCATE   environment   variable.     For
  1436.                                    example,  /TL100  instructs   LOCATE  to
  1437.                                    display the first 100 matches.  Use /TL0
  1438.                                    (or /TL=0) to suppress these listings.
  1439.  
  1440.      Ignore Case                   Select  <Y>es  to  find  both upper  and
  1441.                                    lower  occurrences of  the search  text.
  1442.                                    Use /CASE or /NOCASE on the command line
  1443.                                    or in the LOCATE environment variable.
  1444.  
  1445.      The following is a sample of the LOCATE output when offsets and number
  1446.      of occurrences are being  displayed.  Note  that the display has  been
  1447.      distorted somewhat in order to fit on the page.
  1448.  
  1449.      Searching for   : "hutchins" (any case)
  1450.      List occurrences: ON
  1451.      List offsets    : ON (10 lines max)
  1452.  
  1453.      F:\WP51\DOC\               SS_RMLOC.13       6592 10-03-92  3:21p ----
  1454.        Offset = 791      [ Ray Hutchins, System Solutions Company         ]
  1455.        Offset = 6345     [o "DRHutchins" on·America-Online.·T····X·····X  ]
  1456.        Offset = 6414     [ Ray Hutchins·T$4············System Solutions   ]
  1457.        Total Occurrences: 3  
  1458.      F:\WP51\DOC\               SS_MLOC .13      94358 10-02-92  5:11p ----
  1459.        Offset = 83318    [···DRHutchins···.·T$D·D········4·4····You are   ]
  1460.        Total Occurrences: 1  
  1461.      F:\WP51\DOC\               SS_MLOC .200     94358 10-02-92  5:11p ----
  1462.        Offset = 83318    [···DRHutchins···.·T$!·D····121xxdd ···You are   ]
  1463.        Offset = 93318    [nald Hutchins···.·,,D·D········4·4····Ysd dddd  ]
  1464.        Total Occurrences: 2
  1465.  
  1466.      LOCATE: 3 Files  Occupying 195308 Bytes (<1 MBytes)
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.      ══════════════════════════════════════════════════════════════════════
  1473.      LOCATE: version 2.00                                           page 22
  1474.  
  1475.  
  1476.      Note that  LOCATE displays  control characters  and all  non-printable
  1477.      values as  a single  dot  "·".   Also note  that color  is used  (when
  1478.      available)  to highlight  the  search string  in  the displayed  text.
  1479.      LOCATE always displays  five bytes before the search  string, and then
  1480.      the search string and subsequent text (up to 55 characters maximum).
  1481.  
  1482.      Use the following command to specify all search options on the command
  1483.      line.   This  search finds  all files  containing  "System Solutions".
  1484.      Exact case is  matched and total occurrences are displayed.  Up to 250
  1485.      lines of offset information will be displayed for each file.
  1486.  
  1487.      LOCATE *.* /TEXT="System Solutions" /CASE /OCCUR /TL=250
  1488.  
  1489.      Note that the '"' (double  quote) marks are required (unless searching
  1490.      for a  single token (character  or word)  with no leading  or trailing
  1491.      spaces).  To embed the '"' character in the search string, precede the
  1492.      character   with  '\'  (backslash).     For  example,  to  search  for
  1493.      "string" with quote", specify  /TEXT="string\" with quote".   If using
  1494.      the prompted method, then the  '\' character is NOT required  (it will
  1495.      be interpreted literally if provided).
  1496.  
  1497.      Most users  will establish defaults  for /[no]CASE and  /[no]OCCUR and
  1498.      /TL### in  the LOCATE environment  variable.  In addition,  most users
  1499.      will simply use /TEXT and enter the search string at the prompt.  When
  1500.      specifying the /TL###  option on the command  line, you may  enter the
  1501.      '=' (equals)  character (as  shown above)  if desired,  but it  is not
  1502.      required.  Note  that you must not  use the '=' (equals)  character in
  1503.      the LOCATE  environment  variable.   Please refer  to "Setting  LOCATE
  1504.      Defaults" on page 7 for detailed information and instructions.
  1505.  
  1506.      To override an environment variable  default for the /TEXT option, you
  1507.      may simply enter the desired option on the command line.  For example,
  1508.      if /NOCASE  is the default,  then use /CASE  to override it.   You may
  1509.      optionally disable the  default by following  it with a hyphen  on the
  1510.      command line.  For  example, /CASE- disables the /CASE  default.  When
  1511.      you disable a default, LOCATE prompts you for the required options.
  1512.  
  1513.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1514.      │   For many /TEXT searches, you may want to quickly determine if   │▄
  1515.      │   files contain some text without seeing the offset lines or the  │█
  1516.      │   total number of occurrences.                                    │█
  1517.      │                                                                   │█
  1518.      │   For the fastest searches, do not have LOCATE count all /TEXT    │█
  1519.      │   occurrences (use /NOOCCUR).  In addition, use /TL=0 to suppress │█
  1520.      │   offset displays.  The /[no]CASE option does not affect speed.   │█
  1521.      └───────────────────────────────────────────────────────────────────┘█
  1522.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.      ══════════════════════════════════════════════════════════════════════
  1531.      LOCATE: version 2.00                                           page 23
  1532.  
  1533.  
  1534.                                               Chapter 4: Using /SET Options
  1535.      ──────────────────────────────────────────────────────────────────────
  1536.  
  1537.      Overview of /SET Options
  1538.      ════════════════════════
  1539.      The /SET options allow you to  set/ change the last modify date,  last
  1540.      modify time,  the file  attributes, and the  file owner  (under Novell
  1541.      NetWare) for  files that  match a LOCATE  search specification.   When
  1542.      combined  with  LOCATE's  powerful search  filters,  the  /SET options
  1543.      provide a very flexible and easy method of maintaining files.
  1544.  
  1545.      Note that  the attribute byte  (archive bit/flag) is NOT  changed when
  1546.      you use the /SET options to modify any of the file  properties (unless
  1547.      you change it explicitly with /SETA=, of course).  
  1548.  
  1549.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1550.      │   The /SET options do NOT allow you to change file properties     │▄
  1551.      │   for directory entries.  Note that if you use the /DIR option    │█
  1552.      │   when performing a /SET, the /DIR option is ignored.             │█
  1553.      └───────────────────────────────────────────────────────────────────┘█
  1554.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1555.  
  1556.      When you use the /SET option(s), LOCATE  will display a summary of the
  1557.      requested operations  and prompt  for confirmation  before the  search
  1558.      begins.   To suppress the  initial confirmation prompt, use  the /AUTO
  1559.      option (see page 13). The following prompt will be presented following
  1560.      the summary:
  1561.  
  1562.      SET options for <spec> under Start Path: <Y>es  Yes w/<C>onf  <A>bort:
  1563.  
  1564.      At the  confirmation prompt, select  <Y>es to confirm  requested SET's
  1565.      for  all files  in  <spec> under  the start  path  displayed.   Select
  1566.      <A>bort to cancel  all SET's and abort.  When you select the <C>onfirm
  1567.      option, LOCATE  will prompt you for confirmation  on each SET for each
  1568.      file.  The  following sample prompt confirms setting  Attributes ON as
  1569.      requested for ACCT.DAT.
  1570.  
  1571.      SET ATTR+ for File [F:\DATA\ACCT.DAT]: <Y>es <N>o <S>et All <A>bort:
  1572.  
  1573.      Note that the  prompt "SET ATTR+" indicates that  attributes are being
  1574.      turned ON  (or set), while  "SET ATTR-" indicates that  attributes are
  1575.      being turned OFF.   Other prompts are obvious ("SET DATE", "SET TIME",
  1576.      and "SET OWNER").
  1577.  
  1578.      At  this confirmation  prompt, select  <Y>es to  confirm the  property
  1579.      change for the file listed.  Select <N>o to skip the displayed SET (in
  1580.      the  previous example,  ATTR+) for  the  file.   Select  <S>et All  to
  1581.      confirm the  displayed SET for  the current and ALL  subsequent files.
  1582.      Select <A>bort to cancel all subsequent SET's and stop the search.
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.      ══════════════════════════════════════════════════════════════════════
  1589.      LOCATE: version 2.00                                           page 24
  1590.  
  1591.  
  1592.      Note that the <S>et All option applies ONLY to the displayed SET.  For
  1593.      example,  if setting  date AND  time in a  single operation,  then you
  1594.      could  select to  <S>et  All  dates (when  prompted  for SET  DATE...)
  1595.      without  affecting  the  confirmation  prompts  for  the  time  (i.e.,
  1596.      SET TIME...).
  1597.  
  1598.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1599.      │   When using /SET options, LOCATE only changes file properties    │▄
  1600.      │   when the current value does not match the requested value       │█
  1601.      │   (for example, no time is wasted setting the owner to JDOE if    │█
  1602.      │   the owner is already JDOE).  When using the <C>onfirm option,   │█
  1603.      │   some files may be listed without the requested confirmation.    │█
  1604.      │   Note that LOCATE has not changed the file(s) without your       │█
  1605.      │   permission -- file properties already matched your SET request. │█
  1606.      └───────────────────────────────────────────────────────────────────┘█
  1607.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1608.  
  1609.      /SETD= Option: Set File Date
  1610.      ────────────────────────────
  1611.      For  every file and directory, DOS maintains  a last modified date and
  1612.      time.   When you  create or  modify a  file,  this date  and time  are
  1613.      automatically updated.   LOCATE allows  you to change the  last modify
  1614.      date for any file or group of files that match a search specification.
  1615.  
  1616.      Programmers can use this option to set the dates (and times  using the
  1617.      /SETT=  option) of application programs  to the revision date/ release
  1618.      date  before  distribution.    This  also  is  helpful  when  using  a
  1619.      programmer's   MAKE  utility  that  rebuilds  programs  based  on  the
  1620.      date/time stamp of source files (see the NOTE below).
  1621.  
  1622.      The general form of this option is /SETD=[new date].   You may  insert
  1623.      white  space for  readability  if  you like.    In  addition, you  may
  1624.      optionally the century year (19xx is the assumed default).
  1625.  
  1626.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1627.      │   Use the special keyword "TODAY" to denote the current date.     │▄
  1628.      │   For example, /SETD=TODAY may be used to set the last modify     │█
  1629.      │   date to the current date.  Likewise, when using the /SETT=      │█
  1630.      │   option to set the last modify time (see next section), you may  │█
  1631.      │   use the keyword "NOW" to denote the current time.  Programmers  │█
  1632.      │   could use these options to "TOUCH" a file and thereby force     │█
  1633.      │   inclusion by a MAKE utility (you may wish to create a batch     │█
  1634.      │   file to do this, i.e., LOCATE %1 /SETD=TODAY /SETT=NOW %2 %3)   │█
  1635.      └───────────────────────────────────────────────────────────────────┘█
  1636.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1637.  
  1638.      The following command  searches for all *.H files  under F:\SOURCE and
  1639.      sets the last modify date to 4-1-1993.
  1640.  
  1641.      LOCATE F:\SOURCE\*.H /SETD=4-1-93  ... same as /SETD=04-01-1993
  1642.  
  1643.  
  1644.  
  1645.  
  1646.      ══════════════════════════════════════════════════════════════════════
  1647.      LOCATE: version 2.00                                           page 25
  1648.  
  1649.  
  1650.      The next  command finds KSTUFF.EXE  in the current directory  and sets
  1651.      the last modify date to the current date.
  1652.  
  1653.      LOCATE KSTUFF.EXE /C /SETD=TODAY   ... space added for readability
  1654.  
  1655.      /SETT= Option: Set File Time
  1656.      ────────────────────────────
  1657.      For every file and directory,  DOS maintains a last modified  date and
  1658.      time.   When  you create  or modify  a file,  this date  and time  are
  1659.      automatically updated.   LOCATE  allow you to  change the  last modify
  1660.      time for any file or group of files that match a search specification.
  1661.  
  1662.      As stated above (see  /SETD=), programmers can use this  option to set
  1663.      the  dates and  times of  application programs  to the  revision date/
  1664.      release date before distribution. etc.  In addition, the /SETT= option
  1665.      can be  used to  force inclusion  of source  files when  using a  MAKE
  1666.      utility (see the NOTE in the previous section).
  1667.  
  1668.      The general form of this option is /SETT=[new time].  You should enter
  1669.      the time in 24 hour format; 0:00 is midnight, 12:00 is noon, and 23:59
  1670.      is  11:59pm.    You should  NOT  enter  a value  for  seconds  (:00 is
  1671.      assumed).
  1672.  
  1673.      The following command searches for all *.EXE files under F:\SOURCE and
  1674.      sets the last modify time to 1:00am.
  1675.  
  1676.      LOCATE F:\SOURCE\.EXE /SETT=1:00   ... ":00" is optional (default)
  1677.  
  1678.      The next  command finds KSTUFF.EXE  in the current directory  and sets
  1679.      the last modify time to midnight (12:00am as displayed by DOS).
  1680.  
  1681.      LOCATE KSTUFF.EXE /C /SETT=0       ... same as /SETT=0:00
  1682.  
  1683.      /SETA= Option: Set File Attributes
  1684.      ──────────────────────────────────
  1685.      For every  file, DOS  maintains an attribute  byte that  contains four
  1686.      flags  (or bits)  as described  in the  preceding sections.   A  brief
  1687.      description of  these attributes is provided here  for your reference.
  1688.      Please refer to "/A= Option", page 18, for additional information.
  1689.  
  1690.      Archive   If the file has been modified, then this flag is set ON.
  1691.  
  1692.      ReadOnly  This flag prevents a file from being changed or deleted.
  1693.  
  1694.      Hidden    This flag prevents the file from being displayed.
  1695.  
  1696.      System    This flag designates the file as a system file.
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.      ══════════════════════════════════════════════════════════════════════
  1705.      LOCATE: version 2.00                                           page 26
  1706.  
  1707.  
  1708.      LOCATE  allows you  to modify the  attributes for  files that  match a
  1709.      search specification.  You can use this option to flag important files
  1710.      as ReadOnly (i.e.,  master documents).  You may wish to set the Hidden
  1711.      attribute for  files that you want to protect  from prying eyes.  Note
  1712.      that  you can still use the file (if  you know the name).  You can set
  1713.      the  Archive attribute  ON to flag  a file  as "modified" (to  force a
  1714.      backup, etc.).
  1715.  
  1716.      Another   important  application  of  the  /SETA=  option  is  turning
  1717.      attribute bits/flags  OFF.  For  example, you  may wish to  remove the
  1718.      Hidden or ReadOnly attribute  from a file or  group of files.  If  you
  1719.      are using  the /SETA= option  to remove protected  attributes (Hidden,
  1720.      System, or ReadOnly) in order to DELETE a file or group of files, then
  1721.      you can use the  /DEL option instead.  Please see  Chapter 5, page 29,
  1722.      for more information.
  1723.  
  1724.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1725.      │   DOS installs two important system files on the root directory   │▄
  1726.      │   of your boot drive, MSDOS.SYS and IO.SYS.  These files are      │█
  1727.      │   Hidden, System, and ReadOnly.  You should NOT modify these      │█
  1728.      │   file attributes.                                                │█
  1729.      └───────────────────────────────────────────────────────────────────┘█
  1730.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1731.  
  1732.      When specifying  the  /SETA= option,  list  any attributes  (by  first
  1733.      letter only) to turn  ON.  If you want to turn  an attribute OFF, then
  1734.      precede the attribute letter with a hyphen "-".
  1735.  
  1736.      The following command searches for all *.EXE files under F:\SOURCE and
  1737.      sets the Archive attribute flag ON.
  1738.  
  1739.      LOCATE F:\SOURCE\.EXE /SETA=A
  1740.  
  1741.      The following command searches for all *.EXE files under F:\SOURCE and
  1742.      sets the Hidden and ReadOnly attributes ON.
  1743.  
  1744.      LOCATE F:\SOURCE\.EXE /SETA=HR
  1745.  
  1746.      The next  command finds KSTUFF.EXE  in the current directory  and sets
  1747.      the ReadOnly attribute OFF.
  1748.  
  1749.      LOCATE KSTUFF.EXE /C /SETT=-R
  1750.  
  1751.      Note that  you  can turn  attributes  ON and  OFF concurrently.    For
  1752.      example, the following command searches  for all *.COM files under the
  1753.      current directory and sets the Archive attribute OFF, and the ReadOnly
  1754.      attribute ON.
  1755.  
  1756.      LOCATE *.COM /C /SETA=-AR          ... or /SETA=R-A or /SETA= R -A
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.      ══════════════════════════════════════════════════════════════════════
  1763.      LOCATE: version 2.00                                           page 27
  1764.  
  1765.  
  1766.      /SETO= Option: Set File Owner
  1767.      ─────────────────────────────
  1768.      If you are  running LOCATE in a  Novell NetWare environment,  then you
  1769.      may  change the  owner  of  files using  the  powerful /SETO=  option.
  1770.      Please see  "/O= Option", page  19, for detailed information  on using
  1771.      the LOCATE owner option.
  1772.  
  1773.      This is a great feature  for network administrators.  For  example, if
  1774.      you install an application under a personal login (not SUPERVISOR) and
  1775.      later  want to  assign  ownership  of all  files  in the  subdirectory
  1776.      structure to  the SUPERVISOR,  then  issue the  following command  and
  1777.      LOCATE will quickly complete the change.
  1778.  
  1779.      LOCATE . /S /SETO=SUPERVISOR       ... /S = current DIR and under
  1780.  
  1781.      To change ownership  for a single file  in the current directory,  use
  1782.      the following command (sets the owner to DRH for PRUNE.EXE).
  1783.  
  1784.      LOCATE PRUNE.EXE /C /SETO=DRH      ... /C = current DIR only
  1785.  
  1786.      Note that you must specify a  valid user name for the specified  path.
  1787.      You cannot leave the  user option blank.  As with  the /O= option, all
  1788.      local drives are ignored when using /SETO= to change the file owner.
  1789.  
  1790.  
  1791.      Network Considerations for Using /SET Options
  1792.      ═════════════════════════════════════════════
  1793.      As stated,  the attribute byte  (archive bit) is NOT  changed when you
  1794.      use /SET to  modify any of the  file properties (unless you  change it
  1795.      explicitly  with /SETA=).   The  "Last  Accessed Date"  (not the  last
  1796.      modify  date discussed  above) that  is maintained  in Novell  NetWare
  1797.      environments IS updated when you use the  /SET option to change a file
  1798.      property.  See your NetWare documentation for detailed information.
  1799.  
  1800.      Note  that NetWare requires minimum access rights for many of the /SET
  1801.      operations  performed by  LOCATE.   Please  refer  to "Network  Access
  1802.      Requirements",  page 34,  for detailed  rights  requirements for  your
  1803.      version of NetWare.
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.      ══════════════════════════════════════════════════════════════════════
  1821.      LOCATE: version 2.00                                           page 28
  1822.  
  1823.  
  1824.                                         Chapter 5: Deleting Files with /DEL
  1825.      ──────────────────────────────────────────────────────────────────────
  1826.  
  1827.      Overview of /DEL Option
  1828.      ═══════════════════════
  1829.      The /DEL option  allows you to delete files that match a LOCATE search
  1830.      specification.  You may be thinking that DOS already has a DEL command
  1831.      to  remove files;  and if you  want to  delete one  or all files  in a
  1832.      directory, then you are right!   However, if you want to delete  files
  1833.      based on more sophisticated criterion, or  if you want to delete files
  1834.      are protected by DOS file attributes, then LOCATE to the rescue.
  1835.  
  1836.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1837.      │   When using /DEL to remove files, LOCATE will automatically      │▄
  1838.      │   remove the protected attributes (ReadOnly, System, or Hidden)   │█
  1839.      │   if necessary.  If you are certain that you want to remove a     │█
  1840.      │   file or group of files, and DOS responds with "Access Denied",  │█
  1841.      │   then use the LOCATE /DEL option to remove the files instead.    │█
  1842.      └───────────────────────────────────────────────────────────────────┘█
  1843.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1844.  
  1845.      When you  specify the /DEL  option, locate will display  the following
  1846.      prompt  for  each  file  to  be  deleted.    To  suppress the  initial
  1847.      confirmation prompt, use the /AUTO option (see page 13).
  1848.  
  1849.      DELETE File [X:\PATH\FILE.EXT]:  <Y>es  <N>o  <D>elete All  <A>bort:
  1850.  
  1851.      At the confirmation prompt, specify <Y>es to DELETE the displayed file
  1852.      and continue.   Select  <N>o to  skip this  file.   Select <A>bort  to
  1853.      cancel  the search  immediately.   Select <D>elete  All to  DELETE the
  1854.      current  and ALL  subsequent files  found.   Please  use caution  when
  1855.      selecting the <D>elete All option.  You must ensure that all remaining
  1856.      files  in  the  search  specification  should be  deleted.    See  the
  1857.      important note below.
  1858.  
  1859.      Note  that LOCATE  displays a  message  for each  file  deleted.   The
  1860.      following display indicates that SS_RMBAK.13 has been deleted.
  1861.  
  1862.      F:\WP51\DOC\               SS_RMLOC.13       6592 10-03-92  3:21p A---
  1863.      F:\WP51\DOC\               SS_RMBAK.13       6592 10-03-92  3:23p ----
  1864.      └─ Deleted
  1865.  
  1866.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1867.      │                                                                   │▄
  1868.      │   **** P l e a s e  Use the /DEL option With  C A U T I O N ****  │█
  1869.      │                                                                   │█
  1870.      │   If you accidently DELETE a file or group of files, then you     │█
  1871.      │   MAY be able to recover the file(s) with the UNDELETE utility    │█
  1872.      │   (DOS 5) or with any one of the commercial recovery tools        │█
  1873.      │   (i.e., Norton Utilities, PC Tools, etc.).                       │█
  1874.      └───────────────────────────────────────────────────────────────────┘█
  1875.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1876.  
  1877.  
  1878.      ══════════════════════════════════════════════════════════════════════
  1879.      LOCATE: version 2.00                                           page 29
  1880.  
  1881.  
  1882.                                Chapter 6: Using the /BATCH and /RUN Options
  1883.      ──────────────────────────────────────────────────────────────────────
  1884.  
  1885.      Overview of /BATCH Option
  1886.      ═════════════════════════
  1887.      The /BATCH option allows you to  build batch files based on the  files
  1888.      found in a LOCATE search specification.  This is a great way to find a
  1889.      group  of  files and  perform some  command  on the  files.   For more
  1890.      information on batch files and how they are used, please refer to your
  1891.      DOS documentation.
  1892.  
  1893.      Programmers can  use LOCATE to  find all files containing  a specified
  1894.      function (using  the /TEXT option),  and then create  a batch file  to
  1895.      load each file  into an editor.   You could use the  same technique to
  1896.      launch a word processor with all documents containing specified text.
  1897.  
  1898.      Like the /TEXT option, the /BATCH option supports both  a command line
  1899.      and a prompted method.  To have LOCATE prompt for the batch file  name
  1900.      and format  line, simply use the /BATCH option.   To specify the batch
  1901.      file  and/or format line on the command  line, use the /BF=<file name>
  1902.      and /BATCH="format line" options.  Note  that you may specify the /BF=
  1903.      option in the LOCATE environment  variable (i.e., /BFtemp.bat).  Refer
  1904.      to "Setting  LOCATE Defaults" on  page 7 for detailed  information and
  1905.      instructions.
  1906.  
  1907.      When you  specify the /BATCH  option, LOCATE  will prompt you  for the
  1908.      name of the batch file to create.  You may  enter any valid file name;
  1909.      if you  do not specify a path,  the current directory is  assumed.  If
  1910.      you do not supply an file extension, then ".BAT" will be used.  If you
  1911.      specify the name  of an existing file,  it will be overwritten.   Note
  1912.      that  you may simply  press ENTER (and  leave the file  blank) at this
  1913.      prompt to cancel the /BATCH option and abort.
  1914.  
  1915.      Note that  you must enter  a valid  DOS file  name.  If  you enter  an
  1916.      invalid name or the name of a  DOS device (CON: or PRN:, etc.), LOCATE
  1917.      will return to the file name prompt.
  1918.  
  1919.      After  entering  the batch  file name,  you will  be prompted  for the
  1920.      format line.   Again, you may simply press ENTER (and leave the format
  1921.      line blank) to cancel the /BATCH and abort.  The format line specifies
  1922.      the format  and content of each line  written to the batch  file.  For
  1923.      each file  matching the search  specification, LOCATE writes  a single
  1924.      line to the batch file using your format line as a guide.
  1925.  
  1926.      You  may include  any text  you like  on the  format line.    The file
  1927.      specific  information  is  included  on  this  line by  using  special
  1928.      replacement tokens (see sections below for detailed information).  For
  1929.      example, if the batch file line  should read "PRINT <file name>", then
  1930.      you must use a replacement token to instruct LOCATE to place  the file
  1931.      name in the proper position after the PRINT command  (in this example,
  1932.      the format line should read "PRINT &s").
  1933.  
  1934.  
  1935.  
  1936.      ══════════════════════════════════════════════════════════════════════
  1937.      LOCATE: version 2.00                                           page 30
  1938.  
  1939.  
  1940.      Note that you must include at least one valid replacement token in the
  1941.      format line.   If you  attempt to specify  an incomplete format  line,
  1942.      LOCATE will return to the format line prompt.
  1943.  
  1944.      For each  file in  the search specification,  LOCATE will  display the
  1945.      following confirmation prompt before writing the batch file entry:
  1946.  
  1947.      BATCH [< command spec>]: <Y>es <N>o <I>nclude All <A>bort: Y
  1948.  
  1949.      At the confirmation prompt, select  <Y>es to include the  file/command
  1950.      in the batch file.  Select <N>o to skip the current file and continue.
  1951.      Select <I>nclude All  to include the current and  all remaining files.
  1952.      Select <A>bort to stop the scan and return to DOS.
  1953.  
  1954.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  1955.      │   The most common use of the /BATCH option is running a command   │▄
  1956.      │   or program on the files matching a search specification.  If    │█
  1957.      │   you want to DELETE files, you could make a batch file with      │█
  1958.      │   the DOS command DEL (i.e., "DEL <file name>"); however, the     │█
  1959.      │   /DEL option is much easier.  Please refer to Chapter 5,         │█
  1960.      │   page 29, more information/ instructions.                        │█
  1961.      └───────────────────────────────────────────────────────────────────┘█
  1962.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  1963.  
  1964.      Overview of /RUN Option
  1965.      ═══════════════════════
  1966.      The /RUN option  is identical to the  /BATCH option (see the  previous
  1967.      section); however, the  specified command is executed  immediately for
  1968.      each file.   The following  confirmation prompt is displayed  for each
  1969.      file in the LOCATE search specification:
  1970.  
  1971.      RUN [< command spec>]: <Y>es <N>o <R>un All <A>bort: Y
  1972.  
  1973.      At the confirmation prompt, select  <Y>es to run the specified command
  1974.      using the current  file entry.  Select  <N>o to skip the  current file
  1975.      and continue.  Select <R>un All  to run the current and all  remaining
  1976.      files.  Select <A>bort to stop the scan and return to DOS.
  1977.  
  1978.  
  1979.      Using the Replacement Tokens
  1980.      ════════════════════════════
  1981.      The  previous sections  introduced  the use  of replacement  tokens to
  1982.      create the /BATCH and /RUN format  lines.  This section describes each
  1983.      replacement  token.  Note  that each  token is  prefixed with  the "&"
  1984.      character.  These  tokens may be  specified in either  upper or  lower
  1985.      case.
  1986.  
  1987.      When LOCATE  finds a replacement token  in your format line,  then the
  1988.      appropriate   component  of   the  drive:path/file   specification  is
  1989.      substituted for  the token.   Note that format  lines must  contain at
  1990.      least one valid token.
  1991.  
  1992.  
  1993.  
  1994.      ══════════════════════════════════════════════════════════════════════
  1995.      LOCATE: version 2.00                                           page 31
  1996.  
  1997.  
  1998.      See the table  (next page) for  a list of all  valid tokens.   Most of
  1999.      these  tokens are  displayed for  your  reference at  the format  line
  2000.      prompt.
  2001.  
  2002.         Token  Description                   Example
  2003.         ─────  ────────────────────────────  ─────────────────────────
  2004.           &v   volume/ drive id              F:
  2005.           &r   root of volume                F:\
  2006.           &p   volume with path              F:\HOME
  2007.           &d   directory only                \HOME
  2008.           &b   directory with backslash      \HOME\
  2009.           &f   file name                     CONGRESS
  2010.           &e   extension (if available)      .LTR
  2011.           &n   file name and extension       CONGRESS.LTR
  2012.           &s   complete file specification   F:\HOME\CONGRESS.LTR
  2013.           &&   & character                   &
  2014.  
  2015.      Note  that  some token  values  overlap  others; the  duplication  was
  2016.      intentionally  incorporated for flexibility.  For many operations, you
  2017.      may  find several  variations can  be  specified to  achieve the  same
  2018.      result.  For example, "&v\" is the same as "&r".
  2019.  
  2020.      Note  that  the only  difference  between &d  and  &b is  the trailing
  2021.      backslash "\" character (see the example above).  If a file is located
  2022.      in the root directory, then  &d and &b are  equal (the value is  "\").
  2023.      And so &d never displays the trailing  backslash UNLESS the file is in
  2024.      the root directory.
  2025.  
  2026.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  2027.      │   If your search specification includes the batch file that is    │▄
  2028.      │   being created by the /BATCH option, then the file will be       │█
  2029.      │   ignored, e.g. the batch file written will NOT include itself.   │█
  2030.      └───────────────────────────────────────────────────────────────────┘█
  2031.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  2032.  
  2033.      Creating Batch Files
  2034.      ════════════════════
  2035.      The following  command finds  all batch files  (*.BAT) in  the current
  2036.      directory that  contain a  specified text; for  each matching  file, a
  2037.      batch file entry is written that prints the file using DOS PRINT.
  2038.  
  2039.      LOCATE .BAT /C /TEXT /BATCH
  2040.      ... specify search text at the first prompt
  2041.      ... specify batch file name at the second prompt = PBAT.BAT
  2042.      ... specify format line = "PRINT &n"  ... NOTE: leave out quote marks
  2043.  
  2044.      Results:                           Batch File:
  2045.  
  2046.      F:\HOME\CONGRESS.LTR          =>   PRINT CONGRESS.LTR
  2047.      F:\HOME\MASTER                =>   PRINT MASTER
  2048.      F:\HOME\SALE    .DOC          =>   PRINT SALE.DOC
  2049.  
  2050.  
  2051.  
  2052.      ══════════════════════════════════════════════════════════════════════
  2053.      LOCATE: version 2.00                                           page 32
  2054.  
  2055.  
  2056.      To  run  the PRINT  command  immediately  for  each file  (instead  of
  2057.      generating the  batch file,  see the previous  example), use  the /RUN
  2058.      option.  Each command that would  normally be written to a batch  file
  2059.      will be executed by LOCATE.   Note that you cannot use  the /BATCH and
  2060.      /RUN commands concurrently.
  2061.  
  2062.      The  following command instructs  LOCATE to run  the following command
  2063.      for a  group of  files: NCOPY  <file>.<ext> \NEWDIR\<file>.$$$.   Note
  2064.      that this command simply  copies all files to  \NEWDIR\ with the  same
  2065.      name but  a new extension (always .$$$).   In this example, the format
  2066.      line is provided on the command line.
  2067.  
  2068.      LOCATE . /C /RUN="NCOPY &N \NEWDIR\&F.$$$"
  2069.  
  2070.      The following command builds a  batch file (COPYIT.BAT) to execute the
  2071.      commands specified in the previous example.
  2072.  
  2073.      LOCATE . /C /BATCH="NCOPY &N \NEWDIR\&F.$$$" /BF=COPYIT.BAT
  2074.  
  2075.      To have LOCATE prompt  for the format line in the  above examples, the
  2076.      following commands may be used instead.
  2077.  
  2078.      LOCATE . /C /RUN         ... to prompt for /RUN format line
  2079.      LOCATE . /C /BATCH       ... to prompt for format line and file name
  2080.  
  2081.      Like the /TEXT option, when specifying /BATCH= or /RUN= on the command
  2082.      line, the '"'  (double quote) marks are required  (unless specifying a
  2083.      single token (character or word)  with no leading or trailing spaces).
  2084.      To embed the '"' character in the search string, precede the character
  2085.      with '\'  (backslash).   If using  the prompted method,  then the  '\'
  2086.      character  is  NOT  required  (it will  be  interpreted  literally  if
  2087.      provided).
  2088.  
  2089.      Many  users prefer to  set the default  batch file name  in the LOCATE
  2090.      environment variable (to TEMP.BAT, for example).  If you choose to set
  2091.      a default name, you may override it at any time by simply specifying a
  2092.      new  name on  the command  line or  using the  /BF- option.   Refer to
  2093.      "Setting  LOCATE  Defaults" on  page  7 for  detailed  information and
  2094.      instructions.
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.      ══════════════════════════════════════════════════════════════════════
  2111.      LOCATE: version 2.00                                           page 33
  2112.  
  2113.  
  2114.                                             Chapter 7: Miscellaneous Topics
  2115.      ──────────────────────────────────────────────────────────────────────
  2116.  
  2117.      Network Access Requirements
  2118.      ═══════════════════════════
  2119.      LOCATE  offers specific  features and  functionality  for users  under
  2120.      Novell NetWare, Advanced 2.1 or  higher.  Some features are restricted
  2121.      to users  that have been granted  specific access privileges.   If you
  2122.      are not sure what  rights you have, please  consult with your  network
  2123.      administrator.
  2124.  
  2125.      Please note that this section applies to Novell NetWare ONLY.   LOCATE
  2126.      has been  tested under Novell Netware 2.12, 2.2,  and 3.11.  The table
  2127.      below outlines required rights  for users under version  2.1x (NetWare
  2128.      286) and version 3.x (NetWare 386).
  2129.  
  2130.      Operation                          NetWare 2.1x        NetWare 2.2-3.x
  2131.      ────────────────────────────────── ─────────────────── ───────────────
  2132.      Read/Display file owner            (S)earch            (F)ile Scan
  2133.  
  2134.      Set new file owner                 Supervisor or       Supervisor or
  2135.                                         Equivalent          Equivalent **
  2136.  
  2137.      Set file attributes on/off         (S)earch            (F)ile Scan
  2138.                                         (M)odify            (M)odify
  2139.  
  2140.      Set file date or file time         (S)earch            (F)ile Scan
  2141.                                         (M)odify            (M)odify
  2142.                                         (O)pen              (R)ead
  2143.                                         (R)ead              (W)rite
  2144.  
  2145.      Delete files (/DEL option)         (D)elete            (E)rase
  2146.      (if Hid, Sys, or ReadOnly)         (S)earch            (F)ile Scan
  2147.                                         (M)odify            (M)odify
  2148.      ────────────────────────────────── ─────────────────── ───────────────
  2149.  
  2150.      **   Under  NetWare  3.11, a  user  may  set  a  new file  owner  with
  2151.           (S)upervisor rights  in the applicable directory.   In this case,
  2152.           supervisor equivalency is not necessarily required.
  2153.  
  2154.      Note that  under either  environment, you can  use the  RIGHTS program
  2155.      (usually  located  in  SYS:PUBLIC)  to  determine  your  rights for  a
  2156.      specified file or  in a specified directory.  For  additional help and
  2157.      information, please consult  the NetWare reference or see your network
  2158.      administrator.
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.      ══════════════════════════════════════════════════════════════════════
  2169.      LOCATE: version 2.00                                           page 34
  2170.  
  2171.  
  2172.      Alternate Option Specifications
  2173.      ═══════════════════════════════
  2174.      In   many  cases,  LOCATE   supports  several  variations   of  option
  2175.      specifications; this allows  you to use the  option specification that
  2176.      makes the most sense to YOU.   For example, you may think of a logical
  2177.      disk as a "drive" or a "disk", even though I  generally refer to it as
  2178.      a "volume".    As outlined  in  Chapter 2,  white  space within  these
  2179.      options is  ignored, so  "/OWNER NOT  = DRH"  may be  used instead  of
  2180.      "/OWNERNOT=DRH" if you prefer (for readability).
  2181.  
  2182.      Standard Option     Supported Alternative Options
  2183.      ─────────────────── ──────────────────────────────────────────────────
  2184.  
  2185.      /###                (none)
  2186.      /A=                 /ATTR=, /ATTRIBUTE=, /ATTRIBUTES=
  2187.      /AGE=               (none)
  2188.      /AUTO               /NOCONFIRM
  2189.      /BATCH[=]           /MB[=], /MAKEB[=], /MAKEBATCH[=], /B[=]
  2190.      /BF...              /BATCHFILE[=]... (from command line only)
  2191.      /BIOS               (none)
  2192.      /C                  (none)
  2193.      /CASE               (none)
  2194.      /CD                 (none)
  2195.      /D=                 /DATE=
  2196.      /DEL                /DELETE, /ERASE
  2197.      /DIR                (none)
  2198.      /?                  /HELP
  2199.      /M                  /MONO
  2200.      /NOCASE             (none)
  2201.      /NONET              (none)
  2202.      /NOOCCUR            (none)
  2203.      /O=                 /OWNER=
  2204.      /OCCUR              (none)
  2205.      /ONOT=              /OWNERNOT=, /O!=, /OWNER!=
  2206.      /P                  /PAUSE
  2207.      /PATH               (none)
  2208.      /Q                  /QUIET
  2209.      /R                  /REGISTER
  2210.      /RUN[=]             (none)
  2211.      /S                  /SUB
  2212.      /S=                 /SIZE=
  2213.      /SETA=              /SETATTR=, /SETATTRIBUTE=, /SETATTRIBUTES=
  2214.      /SETD=              /SETDATE=
  2215.      /SETO=              /SETOWNER=
  2216.      /SETT=              /SETTIME=
  2217.      /T=                 /TIME=
  2218.      /TEXT               /FIND, /SEARCH
  2219.      /TL###              /TL[=]### (from command line only)
  2220.      /V=                 /VOL=, /VOLUME=, /DRIVE=, /DRIVES=, /DISK=
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.      ══════════════════════════════════════════════════════════════════════
  2227.      LOCATE: version 2.00                                           page 35
  2228.  
  2229.  
  2230.      Redirecting Output
  2231.      ══════════════════
  2232.      LOCATE supports standard  DOS redirection.  You  may wish to  use this
  2233.      feature to redirect the output display to a printer or to a file.  For
  2234.      example,  you   may  want  to   list  all  files  matching   a  search
  2235.      specification on your printer for review.
  2236.  
  2237.      To redirect  standard output for LOCATE (or any other DOS program that
  2238.      supports redirection),  simply append  the ">"  symbol to  the command
  2239.      line followed by a device or filename.
  2240.  
  2241.      Examples:
  2242.  
  2243.      LOCATE \.COM > COMFILES.LST        ... list to file: COMFILES.LST
  2244.      LOCATE \.COM > PRN                 ... list to printer (LPT1: or PRN:)
  2245.      LOCATE \.COM > LPT2:               ... list to printer on LPT2:
  2246.      LOCATE \.COM > NUL                 ... list to NUL device (void)
  2247.  
  2248.      Note that LOCATE will not allow you to redirect output to  the console
  2249.      device (CON) simply because it makes little sense to do  so.  For more
  2250.      information on DOS  devices and DOS redirection, please  refer to your
  2251.      DOS reference manual.
  2252.  
  2253.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  2254.      │   When redirecting to devices (i.e., printers), please ensure     │▄
  2255.      │   that the printer is online and ready.  If a device is not       │█
  2256.      │   ready, LOCATE will display a "Write Fault" error and abort.     │█
  2257.      └───────────────────────────────────────────────────────────────────┘█
  2258.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  2259.  
  2260.      When you redirect  output to a file or to a  device (i.e., a printer),
  2261.      LOCATE  detects  the  redirection  and  ensures  that  you  still  see
  2262.      important  display  information  on-screen (for  status  and  prompts,
  2263.      etc.).   You cannot  suppress this display  entirely, although  the /Q
  2264.      option may be  used to suppress  current directory/ file  information.
  2265.      See "/Q Option", page 12, for additional information.
  2266.  
  2267.      In  addition, when  redirection is  detected, the  /P pause  option is
  2268.      automatically disabled  (if required);  screen pauses  are not  needed
  2269.      when redirecting output to another device or to a file.
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.      ══════════════════════════════════════════════════════════════════════
  2285.      LOCATE: version 2.00                                           page 36
  2286.  
  2287.  
  2288.      Error Messages
  2289.      ══════════════
  2290.      This  section  contains  an alphabetical  listing  of  all  errors and
  2291.      warnings generated  by LOCATE.   Note that  some errors may  be simply
  2292.      notifications (that allow  you to  continue), while  others are  fatal
  2293.      (force you to quit/abort).
  2294.  
  2295.      If you receive an error that is not listed here, please contact System
  2296.      Solutions  Company  for  support.    See  Appendix  E,  page  52,  for
  2297.      instructions and information.
  2298.  
  2299.      Cannot Use /BATCH with /RUN function
  2300.      ────────────────────────────────────
  2301.      You  cannot perform  a /BATCH  file creation  AND use the  /RUN option
  2302.      concurrently.
  2303.  
  2304.      Cannot Use /DEL with any /SET function
  2305.      ──────────────────────────────────────
  2306.      This error is the result  if attempting to use any /SET option AND the
  2307.      /DEL option concurrently.   This usually makes no  sense (why set  any
  2308.      file option if the file  is going to be deleted?).   Note that if  you
  2309.      are  attempting to use  /SET to turn off  the ReadOnly, System, and/or
  2310.      Hidden attributes in order for /DEL to  delete the files, then you may
  2311.      simply use /DEL alone.  LOCATE automatically removes these "protected"
  2312.      attributes in order to delete files when using the /DEL option.
  2313.  
  2314.      Cannot Use /DEL with /BATCH function
  2315.      ────────────────────────────────────
  2316.      LOCATE does not allow you to use the /DEL option to remove files while
  2317.      creating  a batch  file with the  /BATCH option.   This is  usually an
  2318.      error,  since any  batch file  commands  would be  meaningless if  you
  2319.      deleted the files with /DEL.
  2320.  
  2321.      Cannot Use /DEL with /RUN function
  2322.      ──────────────────────────────────
  2323.      This error is the result if attempting to use the /RUN option  AND the
  2324.      /DEL option concurrently.  You should  first use the /RUN option, then
  2325.      perform the /DEL option if required.
  2326.  
  2327.      Device Error [<Device Name and Error>]: <R>etry <I>gnore <A>bort:
  2328.      ─────────────────────────────────────────────────────────────────
  2329.      A fatal INT 24 error has  occurred for the specified device.  You  may
  2330.      select to retry  (useful for drive and printer errors),  to ignore, or
  2331.      to abort.   The  device is  usually a  disk drive  or a  printer.   If
  2332.      redirecting output to a printer, ensure that the printer is online and
  2333.      ready.  If  searching a removable disk (floppy,  CD-ROM, etc.), ensure
  2334.      that the disk is mounted and ready (drive door closed, etc.).
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.      ══════════════════════════════════════════════════════════════════════
  2343.      LOCATE: version 2.00                                           page 37
  2344.  
  2345.  
  2346.      Error Creating File [<Batch File Name>]; Check /BATCH Parameter
  2347.      ───────────────────────────────────────────────────────────────
  2348.      LOCATE could  not create  the specified batch  file.  Ensure  that the
  2349.      name is valid.  If  you are in a network environment,  then this error
  2350.      may be  the result  of specifying  an existing  file that  is in  use.
  2351.      Also, you  must ensure  that you have  create/write permission  in the
  2352.      current directory.   Note that if you specify  the name of an existing
  2353.      file, LOCATE overwrites the specified file.
  2354.  
  2355.      Error Deleting File [<File Name>]
  2356.      ─────────────────────────────────
  2357.      The specified file  could not be deleted (when using /DEL option).  If
  2358.      you  are in  a network  environment, ensure  that you  have sufficient
  2359.      access  rights  to   delete  the   file(s).     See  "Network   Access
  2360.      Requirements", page 34, for specific rights requirements.
  2361.  
  2362.      Error Getting Owner [<File Name>]
  2363.      ─────────────────────────────────
  2364.      LOCATE could not read the  NetWare file owner.  Please  contact System
  2365.      Solutions Company and report this error.
  2366.  
  2367.      Error Reading File [<File Name>]
  2368.      ────────────────────────────────
  2369.      This error  occurs if  LOCATE cannot  open  a file  in read-only  mode
  2370.      (while using the /TEXT option).  If you are in a  network environment,
  2371.      ensure  that the file is  not in use.  Note  that LOCATE supports file
  2372.      sharing;  however, another  user may  have the  file open  exclusively
  2373.      (denying reads and writes from other stations).
  2374.  
  2375.      Error Running Command [<File Name>]
  2376.      ───────────────────────────────────
  2377.      This  error  results when  LOCATE  cannot execute  the  specified /RUN
  2378.      command for a  file.  LOCATE invokes DOS to run the requested program,
  2379.      so  this error  actually indicates  that  the DOS  command interpreter
  2380.      could not  be found  or loaded.   You  may be  very low  on memory  or
  2381.      perhaps your COMSPEC is missing or invalid.  See you DOS documentation
  2382.      for additional information.
  2383.  
  2384.      Error Setting <Property> [<File Name>]
  2385.      ──────────────────────────────────────
  2386.      This  error occurs  when LOCATE  cannot SET  the file  property (date,
  2387.      time, owner, or  attribute) for the specified  file.  If you are  in a
  2388.      network  environment, ensure that you have sufficient access rights to
  2389.      set file  property.  See  "Network Access Requirements", page  34, for
  2390.      specific rights requirements.
  2391.  
  2392.      Fatal Error Changing Directories
  2393.      ────────────────────────────────
  2394.      This is  a fatal error.   If you are  in a network environment,  it is
  2395.      possible  that  another  station  deleted  a  directory  or  group  of
  2396.      directories.  Please contact System Solutions Company and  report this
  2397.      error.
  2398.  
  2399.  
  2400.      ══════════════════════════════════════════════════════════════════════
  2401.      LOCATE: version 2.00                                           page 38
  2402.  
  2403.  
  2404.      Fatal Error Getting Directory Information
  2405.      ─────────────────────────────────────────
  2406.      See "Fatal Error Changing Directories".
  2407.  
  2408.      Invalid Time Specification; Check <Time Option> Parameter
  2409.      ─────────────────────────────────────────────────────────
  2410.      You have entered an invalid time in the /T= or /SETT= option.  You may
  2411.      have entered  an invalid time  range (i.e., /T=3:00-1:00).   Note that
  2412.      time options should be  entered in 24 hour  format (0:00 is  midnight,
  2413.      12:00 is  noon, and 23:59 is 11:59pm).   Please refer to "/T= Option",
  2414.      page 17, for additional information.
  2415.  
  2416.      Invalid Owner for Specified Path; Check Path and <Option> Parameter
  2417.      ───────────────────────────────────────────────────────────────────
  2418.      The specified owner  name is not valid  for the specified path.   When
  2419.      you use the  /O= or /SETO= option,  LOCATE examines the target  search
  2420.      path(s), then queries  the appropriate servers  to validate the  user.
  2421.      Double check both the user name spelling and the search path.
  2422.  
  2423.      Invalid Size Specification; Check /S Parameter
  2424.      ──────────────────────────────────────────────
  2425.      You have entered  an invalid or missing  size in the /S=  option.  You
  2426.      may have  specified an invalid  size range (i.e., /S=100-20).   Please
  2427.      refer to "/S= Option", page 14, for additional information.
  2428.  
  2429.      Invalid Drive/ Directory Specification
  2430.      ──────────────────────────────────────
  2431.      You have specified an invalid search drive or directory.
  2432.  
  2433.      Invalid File Specification
  2434.      ──────────────────────────
  2435.      You have entered an invalid  DOS file name.  This error will result if
  2436.      the  name contains illegal  characters or if  the specified  name is a
  2437.      device name (CON:, PRN:, etc.).
  2438.  
  2439.      Invalid Age Specification; Range is 0 (Today) to 365
  2440.      ────────────────────────────────────────────────────
  2441.      The /AGE= option is missing or invalid.  You should enter the value in
  2442.      days between  0 and 365,  inclusive.  Please refer  to "/AGE= Option",
  2443.      page 17, for additional information.
  2444.  
  2445.      Invalid Date Specification; Check <Date Option> Parameter
  2446.      ─────────────────────────────────────────────────────────
  2447.      You have entered an invalid date in the /D= or /SETD= option.  You may
  2448.      have entered  an invalid date range (i.e.,  /D=1-1-93 - 1-1-92).  Note
  2449.      that you cannot use the "/" slash character within date specifications
  2450.      (i.e.,  specify  "1-1-93",  and  NOT  "1/1/93").    Please  refer   to
  2451.      "/D= Option", page 15, for additional information.
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.      ══════════════════════════════════════════════════════════════════════
  2459.      LOCATE: version 2.00                                           page 39
  2460.  
  2461.  
  2462.      Invalid Attribute Option; Check <Attribute Option> Parameter
  2463.      ────────────────────────────────────────────────────────────
  2464.      You have entered an invalid or  missing attribute value in the /A=  or
  2465.      /SETA= option.   Note that you need only  enter the first character of
  2466.      the attribute(s), i.e.,  "A", "R", "S", and/or  "H".  Please refer  to
  2467.      "/A= Option", page 18, for additional information.
  2468.  
  2469.      Invalid Volume/Drive List; Check /V Parameter
  2470.      ─────────────────────────────────────────────
  2471.      You have  entered an  invalid volume/  drive list  in the  /V= option.
  2472.      Please refer to "/V= Option", page 11, for additional information.
  2473.  
  2474.      Memory Allocation Error Loading During PATH Load
  2475.      ────────────────────────────────────────────────
  2476.      LOCATE  could  not  allocate  memory  to  parse  the PATH  environment
  2477.      variable.  If  you are very low  on memory, release memory  and re-try
  2478.      the  operation.   If you  cannot  resolve this  error, please  contact
  2479.      System Solutions Company.
  2480.  
  2481.      Memory Allocation Error During Parse
  2482.      ────────────────────────────────────
  2483.      See "Memory Allocation Error Loading During PATH Load".
  2484.  
  2485.      Memory Allocation Error Loading During /TEXT Allocation [<#> lines]
  2486.      ───────────────────────────────────────────────────────────────────
  2487.      See "Memory  Allocation Error  Loading During PATH  Load".   Note that
  2488.      this error usually results from  specifying a very large /TL### option
  2489.      value.   For most environments,  you should specify a  value between 0
  2490.      and 512.
  2491.  
  2492.      Missing File Specification
  2493.      ──────────────────────────
  2494.      You have not  entered a search specification.  You must, at a minimum,
  2495.      enter "." (to indicate "*.*").  This usually happens when you  enter a
  2496.      command  like  "LOCATE   /AGE=0",  and  you  simply  forget  the  file
  2497.      specification.
  2498.  
  2499.      No PATH Found; /PATH Option Not Available
  2500.      ─────────────────────────────────────────
  2501.      You have used the /PATH  option; however, no PATH environment variable
  2502.      could  be found.  If you do not  have a PATH environment variable, you
  2503.      should create one.   Please refer to your  DOS documentation for  more
  2504.      information.
  2505.  
  2506.      Not Enough Memory for /TEXT Option
  2507.      ──────────────────────────────────
  2508.      LOCATE  could  not allocate  memory  needed  to  scan files  for  text
  2509.      occurrences.  Also see  "Memory Allocation Error Loading During  /TEXT
  2510.      Allocation" above.   Note: LOCATE needs to  allocate approximately 8Kb
  2511.      of memory to perform the /TEXT operation.
  2512.  
  2513.  
  2514.  
  2515.  
  2516.      ══════════════════════════════════════════════════════════════════════
  2517.      LOCATE: version 2.00                                           page 40
  2518.  
  2519.  
  2520.      Operation Aborted
  2521.      ─────────────────
  2522.      This message is informational.   You have aborted (usually by pressing
  2523.      Ctrl-Break or Ctrl-C during the file scan).
  2524.  
  2525.      Owner Flag Not Available; No NetWare Servers Found
  2526.      ──────────────────────────────────────────────────
  2527.      You must  have IPX  protocol support  (i.e., IPX  or DOS  ODI) and  be
  2528.      attached to  a NetWare  Server running  Novell NetWare  2.1x - 3.x  in
  2529.      order to  use the  /O= or the  /SETO= option.   Refer to  your NetWare
  2530.      documentation for additional information.
  2531.  
  2532.      Owner Flag Not Available; /NONET Option In Use
  2533.      ──────────────────────────────────────────────
  2534.      You cannot use  the /O= or /SETO=  options while the /NONET  option is
  2535.      active.  If you did not specify /NONET on the command line, then it is
  2536.      in the LOCATE  environment variable.   See "Setting LOCATE  Defaults",
  2537.      page 7, for additional information.
  2538.  
  2539.      Unrecognized or Invalid Parameter: <Option>
  2540.      ───────────────────────────────────────────
  2541.      You  have  specified  a  command   or  option  that  LOCATE  does  not
  2542.      understand.  You should double  check spelling and re-try the command.
  2543.      For  a list  of legal  syntax for each  option, please  see "Alternate
  2544.      Option Specifications", page 35.
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.      ══════════════════════════════════════════════════════════════════════
  2575.      LOCATE: version 2.00                                           page 41
  2576.  
  2577.  
  2578.      Troubleshooting: Common Questions
  2579.      ═════════════════════════════════
  2580.      This section provides many common questions and tips.  Even if you are
  2581.      not having problems,  you may want to  browse this section.   The most
  2582.      common syntax mistakes are outlined here.
  2583.  
  2584.      When using /V= or /PATH with an owner option (/O=, /O !=, or /SET O=),
  2585.      one  or  more of  my  volumes/paths was  not  searched.   Why  was the
  2586.      path/volume removed from the search list by LOCATE?
  2587.  
  2588.           LOCATE removes invalid drives from  /V= or /PATH whenever any one
  2589.           of the following conditions occurs:
  2590.  
  2591.           1)   the volume is invalid (it does not exist)
  2592.           2)   the volume is a CD-ROM drive and no CD is loaded
  2593.           3)   the drive  letter  is  a  NetWare  SEARCH  MAP  drive  (only
  2594.                applicable to /V=; use /PATH to search SEARCH MAP's)
  2595.           4)   you  used an owner  option (/O=, /O  NOT=, /SET O=)  and the
  2596.                owner is not valid for the server's drive
  2597.  
  2598.      Why does LOCATE report that I do not have enough memory?
  2599.  
  2600.           LOCATE requires very little memory to operate (95 to 125 Kb).  If
  2601.           using the  /TL= option  on the  command  line or  in your  LOCATE
  2602.           environment  variable, then make sure that the specified value is
  2603.           between 0  and approximately  512.  If  you still  cannot resolve
  2604.           your  memory shortage,  contact  System Solutions  for assistance
  2605.           (see Appendix E, page 52).
  2606.  
  2607.      I am using  the following syntax  to search for all  *.* files in  the
  2608.      parent directory: "LOCATE .."  Why does LOCATE search for UTILS.*?
  2609.  
  2610.           You   forgot  the  file   specification.    You   should  specify
  2611.           "LOCATE ..\." for the desired result.
  2612.  
  2613.      I am using the /TEXT option and LOCATE just started searching a 115 Mb
  2614.      file.  I  do not  want to  search this file;  how can  I stop  LOCATE;
  2615.      ESCAPE, SpaceBar, or ENTER do not work?
  2616.  
  2617.           Press Control-Break or Control-C to stop the scan.  This type  of
  2618.           break always stops LOCATE quickly and aborts the scan.
  2619.  
  2620.      How can I save my SET LOCATE= defaults?
  2621.  
  2622.           The  easiest way  to save defaults  it to  place the  SET LOCATE=
  2623.           statement in  your  AUTOEXEC.BAT file.    This ensures  that  the
  2624.           variable will be set each time you  start your computer.  Use any
  2625.           editor (EDIT in DOS ver.5.0, for example) to edit C:\AUTOEXEC.BAT
  2626.           and place the SET LOCATE= statement anywhere in the file.
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.      ══════════════════════════════════════════════════════════════════════
  2633.      LOCATE: version 2.00                                           page 42
  2634.  
  2635.  
  2636.      Why does  the file  owner name display  as "---"  instead of  the real
  2637.      owner?
  2638.  
  2639.           LOCATE  uses "---"  to report  files with  no owner.   Note  that
  2640.           Novell's NDIR  command uses  "N/A" for the  same purpose.   Files
  2641.           usually  lose their owner information when  the original owner is
  2642.           deleted from  the bindery.  To view all  files with no owner, use
  2643.           the "/O=" option with no owner name, i.e., "LOCATE . /O=".
  2644.  
  2645.      Can LOCATE display the entire owner name (and not just the first three
  2646.      characters)?
  2647.  
  2648.           Because  of space restrictions,  LOCATE displays the  first three
  2649.           characters only (followed by a  plus "+" if more characters would
  2650.           normally  follow).   If this  is a  problem for  you, let  System
  2651.           Solutions  know  about  it!     See  Appendix  E,  page  52,  for
  2652.           instructions and information.
  2653.  
  2654.      Will LOCATE function properly with NetWare 4.0?
  2655.  
  2656.           LOCATE has not been tested under NetWare 4.0.  Even though Novell
  2657.           has  promised compatibility with  existing API's, you  should use
  2658.           caution when using LOCATE's  NetWare features (i.e., /SET OWNER=)
  2659.           in a 4.0 environment.  If you are operating in a multi-server 4.0
  2660.           environment, then you  should be aware that LOCATE  will only see
  2661.           the first eight (8) server attachments.
  2662.  
  2663.      How does  LOCATE  retrieve and  set NetWare  (owner) information;  why
  2664.      should I trust LOCATE with my NetWare bindery?
  2665.  
  2666.           LOCATE has been thoroughly tested in Novell NetWare environments.
  2667.           All NetWare interface code  is written using Novell  approved API
  2668.           calls (Application  Program Interfaces).   This is the  same code
  2669.           that exists  internally in  the NetWare tools  you use  every day
  2670.           (SYSCON, FCONSOLE, FILER, etc.).
  2671.  
  2672.           I know that some of you may have been burned with  commercial and
  2673.           shareware  utilities  that   promise  NetWare  functionality   or
  2674.           features.   I  assure you  that LOCATE  will perform  as promised
  2675.           under the supported NetWare environments.
  2676.  
  2677.      I used the  /V= option to  include a  drive in my  NetWare SEARCH  MAP
  2678.      list.   My search map is "S3:= X:.  [SERVER1\SYS: \PUBLIC]" and I used
  2679.      "/V=FGX".  Why did LOCATE remove the X: from the list?
  2680.  
  2681.           NetWare  SEARCH  MAP  drives  may  not be  included  in  the  /V=
  2682.           volume/drive listing.  Simply use  the /PATH option instead.  All
  2683.           SEARCH drives are in the DOS PATH environment variable.
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.      ══════════════════════════════════════════════════════════════════════
  2691.      LOCATE: version 2.00                                           page 43
  2692.  
  2693.  
  2694.      Why do I  always get the error  "Error Running Command..." when  I use
  2695.      the /RUN option?
  2696.  
  2697.           Unless  memory is very  tight, this error  is caused by  a bad or
  2698.           missing  command  interpreter.   Ensure that  you have  a COMSPEC
  2699.           environment variable that tells LOCATE where COMMAND.COM (or your
  2700.           command interpreter) is found  and what it  is called.  For  more
  2701.           information  on the  COMSPEC setting,  please refer  to  your DOS
  2702.           documentation.
  2703.  
  2704.      Why does LOCATE  always report  syntax errors  when I try  to use  the
  2705.      /DATE= or /SET DATE= options?
  2706.  
  2707.           You are probably  using slashes "/" in the date instead of dashes
  2708.           "-".     For   example,   "/D=02/01/93"   is   not   valid   (use
  2709.           "/D=02-01-93").   This is necessary since LOCATE delimits options
  2710.           by the forward slash "/" character.
  2711.  
  2712.      I used /DEL but the directories are still there; what happened?
  2713.  
  2714.           The current  version of LOCATE  does not remove  directories when
  2715.           using the  /DEL option to delete files.   To remove all files and
  2716.           directories  under a  path, use  the  popular shareware  utility,
  2717.           PRUNE.   Note  that MS-DOS  6.0 users may  use DELTREE  to remove
  2718.           files and directories.
  2719.  
  2720.      I used  /SET... but only  files were affected (not  directories); what
  2721.      happened?
  2722.  
  2723.           The  current  version  of LOCATE  does  not  SET  information for
  2724.           directories (only files are affected).
  2725.  
  2726.      I have a CD-ROM and the application software  requires that the CD-ROM
  2727.      drive be in the DOS PATH.  Why does LOCATE report errors when no CD is
  2728.      in the drive and I use the /PATH option?
  2729.  
  2730.           Your CD-ROM  drive is similar to a floppy  drive in that you must
  2731.           have a  CD mounted/installed before LOCATE can  access the drive.
  2732.           Either  remove the CD drive  from your PATH or leave  a CD in the
  2733.           drive at all times.
  2734.  
  2735.      When I  use  the /TEXT  option, I  always want  to  ignore case,  list
  2736.      occurrences, and  list offset  information; is there  any way  to keep
  2737.      LOCATE from asking every time?
  2738.  
  2739.           Use the SET LOCATE= environment  variable to list your  defaults.
  2740.           For /TEXT,  use /TL,  /[no]OCCUR,  and /[no]CASE.   See  "Setting
  2741.           LOCATE Defaults", page 7 for instructions.  For this example, use
  2742.           /NOCASE /OCCUR /TL100 (for 100 offset lines maximum).
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.      ══════════════════════════════════════════════════════════════════════
  2749.      LOCATE: version 2.00                                           page 44
  2750.  
  2751.  
  2752.      When would I want  to use the /### option to limit the number of files
  2753.      that LOCATE finds or sets?
  2754.  
  2755.           This option may be useful when LOCATE is used from within a batch
  2756.           file and you want to list and/or SET an option for a single  file
  2757.           or a specific  number of files.   In this case,  you may want  to
  2758.           specify the /AUTO option to suppress confirmation prompts.
  2759.  
  2760.      When would I  want to  use the /AUTO  option to suppress  confirmation
  2761.      prompts?
  2762.  
  2763.           Generally, /AUTO  is used  from within batch  files where  a pre-
  2764.           determined /SET  is being used  and confirmation prompts  are not
  2765.           necessary.  See the previous topic for more information.
  2766.  
  2767.      When using /TEXT= or /RUN=, my format line is all bunched together.  I
  2768.      specified "/RUN=browse &s  /c" and LOCATE is  using "/RUN=browse&s/c".
  2769.      Why are the spaces being removed?
  2770.  
  2771.           You  forgot the  surrounding double  quote marks  - "...".   When
  2772.           specifying the /TEXT= or /RUN=  format lines on the command line,
  2773.           surround  the  specification with  "  marks.   For  example,  the
  2774.           following command should be used:
  2775.  
  2776.           LOCATE . /C /RUN="browse &s /c"
  2777.  
  2778.           Note that  most users prefer  to simply specify "/RUN"  and allow
  2779.           LOCATE  to prompt for the format line.   In this case, no " marks
  2780.           are required.
  2781.  
  2782.      What can I expect from future releases of LOCATE?
  2783.  
  2784.           It greatly  depends on  YOU!  Your  feedback and  suggestions are
  2785.           always  given serious  considerations.   Please  write or  E-mail
  2786.           anytime.  You do not have to  be a registered user.  No questions
  2787.           are asked.  See Appendix E, page 52, for more information.
  2788.  
  2789.           A few of the planned enhancements are outlined here:
  2790.  
  2791.           -    More NetWare features; NetWare 4.0 support
  2792.           -    Support for ZIP (and other archive formats) files
  2793.           -    Enhanced /DIR support (for /DEL and /SET options)
  2794.           -    Full screen dialog windows for options and easy to use menus
  2795.           -    DOS and Windows versions
  2796.           -    Sort-able file listings that may be scrolled
  2797.           -    Search by file type (PKLite .EXE, Windows .EXE, dBASE, etc.)
  2798.           -    Ability to replace text (for /TEXT) with new text
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.      ══════════════════════════════════════════════════════════════════════
  2807.      LOCATE: version 2.00                                           page 45
  2808.  
  2809.  
  2810.                                        Appendix A: Registration Information
  2811.      ──────────────────────────────────────────────────────────────────────
  2812.  
  2813.      LOCATE is distributed as shareware.  You may use the shareware version
  2814.      for evaluation purposes only.  This shareware version of LOCATE is the
  2815.      complete working version of the program, not a crippled  or demo copy.
  2816.      Please  refer to  Appendix  B,  page 49,  for  distribution and  usage
  2817.      information.
  2818.  
  2819.      System Solutions  Company hereby grants  you a limited license  to use
  2820.      this software for evaluation purposes only for a  period not to exceed
  2821.      30 days.   If you  intend to continue  using LOCATE beyond  the 30-day
  2822.      evaluation  period,  then  you  MUST  register/purchase  the software.
  2823.      Registration instructions  are outlined  below.   Using this  software
  2824.      after  the  evaluation  period  has  ended  without  registering is  a
  2825.      violation of the terms of this limited license.
  2826.  
  2827.  
  2828.      How to Register
  2829.      ═══════════════
  2830.      To register  LOCATE, simply complete  and mail the  accompanying order
  2831.      form (see  the ORDER.DOC file)  with your payment to  System Solutions
  2832.      Company.    For questions  regarding  registration  procedures, please
  2833.      contact System  Solutions (see Appendix  E, page 52,  for instructions
  2834.      and information).
  2835.  
  2836.  
  2837.      Cost of Registration
  2838.      ════════════════════
  2839.      You may purchase/license LOCATE for use by a single user or for use in
  2840.      a network environment by  multiple users (i.e., a site license).  Note
  2841.      that very small  network environments (less than four  users) may wish
  2842.      to purchase multiple single user licenses.
  2843.  
  2844.           - Single user license (each)  . . . . . . . . . . . . . . . . $15
  2845.  
  2846.           - Network license (up to 50 users max)  . . . . . . . . . . . $60
  2847.  
  2848.           To license more than 50 users in a network  environment, the cost
  2849.           is $60 (for  the first 50 users)  plus $10 per 25  users over 50.
  2850.           To calculate the  cost for  your environment,  use the  following
  2851.           formula (for 'UserCount', use the next higher multiple of 25):
  2852.  
  2853.                                      UserCount - 50
  2854.                Total Cost = $60 + ( ---------------- x $10 )
  2855.                                             25              
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.      ══════════════════════════════════════════════════════════════════════
  2865.      LOCATE: version 2.00                                           page 46
  2866.  
  2867.  
  2868.           Example Network License Options:
  2869.  
  2870.           10 users       $60       standard network license
  2871.           60 users       $70       $60 plus 1 group of 25 at $10/each
  2872.           100 users      $80       $60 plus 2 groups of 25 at $10/each
  2873.           200 users      $120      $60 plus 6 groups of 25 at $10/each
  2874.           300 users      $160      $60 plus 10 groups of 25 at $10/each
  2875.           500 users      $240      $60 plus 18 groups of 25 at $10/each
  2876.  
  2877.      ┌─────────────────────────[ N O T E ]───────────────────────────────┐
  2878.      │   If you wish to license more than 500 users, please contact      │▄
  2879.      │   System Solutions and inquire about large site license options   │█
  2880.      │   (see Appendix E, page 52, for instructions and information).    │█
  2881.      └───────────────────────────────────────────────────────────────────┘█
  2882.        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  2883.  
  2884.  
  2885.      Upgrade Information
  2886.      ═══════════════════
  2887.      To upgrade  a single  user license  to a  network site  license or  to
  2888.      increase the number of users in a network license, you must simply pay
  2889.      the difference  between you  original purchase  price and  the current
  2890.      price of the desired license.
  2891.  
  2892.      For example, assume  you purchased a standard network  site license of
  2893.      version  2.00 for $60.  To later expand your license to 100 users, you
  2894.      must pay  $20 (assuming the  current cost for 100  users is $80).   To
  2895.      upgrade a single user license to a standard network  license, you must
  2896.      pay $45 ($60 less the $15).
  2897.  
  2898.      If your license  requirements do not change,  the there is no  cost to
  2899.      upgrade  when new  versions  of LOCATE  are released.    See the  next
  2900.      section, "Benefits of Registration", for more information.
  2901.  
  2902.  
  2903.      Benefits of Registration
  2904.      ════════════════════════
  2905.      As a registered user, you will receive the following:
  2906.  
  2907.      -    The most current version of the LOCATE program.  I am  constantly
  2908.           looking for ways  to improve this software;  registration ensures
  2909.           that you have the latest release.
  2910.  
  2911.      -    Free lifetime technical support via mail and E-mail (through most
  2912.           popular  services,  including  CompuServe  and  America  Online).
  2913.           Support is available  to registered users only.   See Appendix E,
  2914.           page 52, for instructions on contacting System Solutions Company.
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.      ══════════════════════════════════════════════════════════════════════
  2923.      LOCATE: version 2.00                                           page 47
  2924.  
  2925.  
  2926.      -    Free lifetime  upgrades.   All  registered  users of  LOCATE  are
  2927.           licensed to use the most  current version of the program forever.
  2928.           LOCATE's system  files are made available on many online services
  2929.           and registered  users  may download  upgrades without  additional
  2930.           license fees.   Note that if you  purchase a network license  and
  2931.           your user count increases, you must purchase additional licenses.
  2932.           The same applies to single users upgrading to a network license.
  2933.  
  2934.           Note that  System Solutions will  mail upgrades to users  that do
  2935.           not have  access to online  services where  LOCATE is posted.   A
  2936.           processing and shipping fee will be charged.
  2937.  
  2938.      -    Notification of significant  upgrades and bug-fixes.   When a new
  2939.           release is available, registered  users are notified via  mail or
  2940.           E-mail.   The notification includes  an order  form (for  mail-in
  2941.           update)  and  instructions for  downloading updates  from popular
  2942.           online services.
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.      ══════════════════════════════════════════════════════════════════════
  2981.      LOCATE: version 2.00                                           page 48
  2982.  
  2983.  
  2984.                                    Appendix B: Limited Distribution License
  2985.      ──────────────────────────────────────────────────────────────────────
  2986.  
  2987.      You are encouraged to freely copy and distribute LOCATE subject to the
  2988.      following restrictions and provisions:
  2989.  
  2990.      The "LOCATE  System"  consists  of  all  files  and  documentation  as
  2991.      outlined in  the PACKING.LST file.  If any files listed in PACKING.LST
  2992.      are missing (or if  PACKING.LST is missing), then the LOCATE system is
  2993.      not complete  and  may NOT  be  distributed.   If  the system  is  not
  2994.      complete, please contact System Solutions (see Appendix E, page 52) to
  2995.      obtain a complete distribution system.
  2996.  
  2997.  
  2998.      Important Provisions
  2999.      ════════════════════
  3000.      -    The LOCATE system, including all program files and documentation,
  3001.           must not be  modified in any way without  express written consent
  3002.           of Donald Ray Hutchins, System Solutions Company.
  3003.  
  3004.      -    The documentation  files may  not be reproduced,  in whole  or in
  3005.           part, without  express written  consent of  Donald Ray  Hutchins,
  3006.           System Solutions Company.
  3007.  
  3008.      -    The LOCATE system must be distributed in it's entirety (as stated
  3009.           above).
  3010.  
  3011.      -    The LOCATE system is shareware and it  must be listed/categorized
  3012.           as such in  all distribution advertisements  and documents.   The
  3013.           LOCATE  system must  not  be categorized  as  "public domain"  or
  3014.           "freeware".
  3015.  
  3016.      -    The  LOCATE  system   may  not  be  sold  or   leased  under  any
  3017.           circumstances.   Shareware distributors may  charge a  reasonable
  3018.           distribution  fee for  this  software.    Distributors  must  not
  3019.           represent that  they are selling  the "software" itself.   Please
  3020.           ensure  that  customers  understand  the   difference  between  a
  3021.           distribution fee and a registration fee.
  3022.  
  3023.      -    LOCATE may not be modified, decompiled, disassembled, or reverse-
  3024.           engineered in any way.
  3025.  
  3026.      System Solutions  Company reserves  the right  to revoke  distribution
  3027.      privileges from any vendor.
  3028.  
  3029.      All rights not expressly granted here are reserved by System Solutions
  3030.      Company.  If you have  questions regarding this policy, please contact
  3031.      System Solutions immediately (see Appendix E, page 52).
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.      ══════════════════════════════════════════════════════════════════════
  3039.      LOCATE: version 2.00                                           page 49
  3040.  
  3041.  
  3042.                                        Appendix C: Description of Shareware
  3043.      ──────────────────────────────────────────────────────────────────────
  3044.  
  3045.      LOCATE is distributed as shareware.  It is not a public domain program
  3046.      (it  is  not  free).    Please  refer  to Appendix  A  (page  46)  for
  3047.      Registration  and Appendix  B  (page 49)  for  Distribution and  usage
  3048.      provisions.
  3049.  
  3050.      Shareware is  a marketing method,  not a type  of software.   It gives
  3051.      users a  legal but limited trial  period to evaluate a  program before
  3052.      purchase.  If  you continue to use  this program after a  30-day trial
  3053.      period has ended, you must register/purchase the program.
  3054.  
  3055.      Shareware,  like commercially  distributed  software,  is produced  by
  3056.      professional programmers.   And  just like  commercial programs,  many
  3057.      shareware programs are  very good, while others  are not useful.   The
  3058.      important difference between shareware and commercial software is that
  3059.      with shareware, you know if it will be useful to you BEFORE you  spend
  3060.      your money.
  3061.  
  3062.      Shareware benefits  you, the  software user, because  you get  to test
  3063.      drive the software on your system and under  your environment in order
  3064.      to  determine  whether  the   software  meets  your  needs   and  your
  3065.      expectations.  Before spending a  single dollar, you can determine for
  3066.      yourself  if the software  will satisfy YOUR  requirements.  Shareware
  3067.      benefits program authors and developers because we are able to get our
  3068.      products  into  your hands  without  incurring  many of  the  expenses
  3069.      associated with  marketing, promoting,  and distributing  a commercial
  3070.      software application.
  3071.  
  3072.      The  shareware  system  and  the  continued  availability  of  quality
  3073.      shareware products depend on your support.   It is a fair system where
  3074.      we  all can  benefit.   I  encourage you  to  take an  active  role in
  3075.      supporting the shareware  concept.  When you find  a shareware product
  3076.      that is useful, register the software as required by the author.  Most
  3077.      shareware programs offer a number of  benefits when you register.   In
  3078.      addition, your registration fees will ensure that support for existing
  3079.      programs and development of new programs and enhancements is possible.
  3080.      
  3081.      LOCATE  was developed  by a  member  of the  Association of  Shareware
  3082.      Professionals (ASP).   Look for the ASP member notice in the shareware
  3083.      products that you  obtain; it  is a symbol  of commitment to  quality,
  3084.      support, and professionalism in software development and distribution.
  3085.      Please see Appendix D, page 51, for more information on the ASP.
  3086.      
  3087.      Register LOCATE and support the shareware system!
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.      ══════════════════════════════════════════════════════════════════════
  3097.      LOCATE: version 2.00                                           page 50
  3098.  
  3099.  
  3100.                      Appendix D: The Association of Shareware Professionals
  3101.      ──────────────────────────────────────────────────────────────────────
  3102.  
  3103.      The Association of Shareware Professionals (ASP) was formed in 1987 to
  3104.      inform users  about the shareware  marketing method, to foster  a high
  3105.      degree of  professionalism among shareware  authors, and to  provide a
  3106.      forum  through which  ASP members  may  communicate, share  ideas, and
  3107.      learn from each other.
  3108.  
  3109.      ASP  members' shareware  meets  additional  quality  standards  beyond
  3110.      ordinary shareware.   Members' programs must be  fully functional (not
  3111.      crippled, demo,  or out-of-date versions); program  documentation must
  3112.      be  complete and  must  clearly  state the  registration  fee and  the
  3113.      benefits received for registering;  members must provide free  mail or
  3114.      telephone support  for a minimum  of three months  after registration;
  3115.      and members must meet  other guidelines which help to insure  that you
  3116.      as  a  user receive  good  value for  your  money and  are  dealt with
  3117.      professionally.
  3118.  
  3119.  
  3120.                            ┌─────────┐
  3121.                      ┌─────┴───┐     │               (R)
  3122.                    ──│         │o    │──────────────────
  3123.                      │   ┌─────┴╨──┐ │  Association of
  3124.                      │   │         │─┘  Shareware
  3125.                      └───│    o    │    Professionals
  3126.                    ──────│    ║    │────────────────────
  3127.                          └────╨────┘    MEMBER
  3128.  
  3129.      Donald  Ray Hutchins  is  a  member of  the  Association of  Shareware
  3130.      Professionals  (ASP).   ASP  wants  to make  sure  that the  shareware
  3131.      principle  works   for  you.    If   you  are  unable  to   resolve  a
  3132.      shareware-related problem with an ASP member by contacting  the member
  3133.      directly, ASP may be  able to help.   The ASP  Ombudsman can help  you
  3134.      resolve a dispute or problem with an  ASP member, but does not provide
  3135.      technical  support for  members' products.   Please  write to  the ASP
  3136.      Ombudsman at 545 Grover Road, Muskegon,  MI 49442 or send a CompuServe
  3137.      message via CompuServe MAIL to ASP Ombudsman 70007,3536.
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.      ══════════════════════════════════════════════════════════════════════
  3155.      LOCATE: version 2.00                                           page 51
  3156.  
  3157.  
  3158.                             Appendix E: Contacting System Solutions Company
  3159.      ──────────────────────────────────────────────────────────────────────
  3160.  
  3161.      To  contact  System  Solutions Company  for  support,  information, or
  3162.      feedback, please write to me at the address below.  You may contact me
  3163.      by phone (evenings only EST, please) at the number  listed; please use
  3164.      mail or E-mail (see below) when possible.
  3165.  
  3166.           Donald Ray Hutchins
  3167.           System Solutions Company
  3168.           4409 Ansley Drive
  3169.           Winston-Salem, NC 27107-7671
  3170.           (919) 788-9656
  3171.  
  3172.      The quickest way  to contact me is  generally via E-mail (if  you have
  3173.      easy access to an online service).  I usually check messages  at least
  3174.      twice a week on all services.
  3175.  
  3176.           CompuServe ID:      72064,1052
  3177.  
  3178.           Internet:           72064.1052@compuserve.com
  3179.  
  3180.           AT&T Mail:          MHS!CSMAIL!72064,1052
  3181.  
  3182.           MCI Mail:           To:  Donald R. Hutchins
  3183.                               EMS: CompuServe
  3184.                               MBX: 72064,1052
  3185.  
  3186.           America Online ID:  DrHutchins
  3187.  
  3188.           Prodigy:            72064,1052@compuserve.com
  3189.  
  3190.      If you do not currently have access  to these services and you have  a
  3191.      pressing question  or problem that  cannot wait for postal  mail, then
  3192.      use the phone number above.  Please call during evening hours (EST).
  3193.  
  3194.  
  3195.      Comments and Suggestions
  3196.      ════════════════════════
  3197.      I encourage  feedback and bug-reports  from ALL users,  registered and
  3198.      un-registered  -- NO  QUESTIONS ASKED.    If you  have suggestions  or
  3199.      criticisms for  LOCATE (or any  product developed by  System Solutions
  3200.      Company), please contact me anytime!
  3201.  
  3202.      If you find  a bug in this  software, a mis-spelling  or error in  the
  3203.      documentation, etc. then please let me know as soon as possible.
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.      ══════════════════════════════════════════════════════════════════════
  3213.      LOCATE: version 2.00                                           page 52
  3214.  
  3215.  
  3216.                                       Appendix F: Trademarks and Copyrights
  3217.      ──────────────────────────────────────────────────────────────────────
  3218.  
  3219.  
  3220.      LOCATE is Copyright (c) 1993, Donald Ray Hutchins, System Solutions.
  3221.  
  3222.      PRUNE is Copyright (c) 1992, Donald Ray Hutchins, System Solutions.
  3223.  
  3224.      IBM-PC/AT and PC-DOS are registered trademarks of IBM Corporation.
  3225.  
  3226.      MS-DOS is a registered trademark of Microsoft Corporation.
  3227.  
  3228.      NetWare and Novell are registered trademarks of Novell, Incorporated.
  3229.  
  3230.      Norton Utilities is a registered trademark of Symantec Corporation.
  3231.  
  3232.      PC Tools is a registered trademark of Central Point Software.
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.      ══════════════════════════════════════════════════════════════════════
  3271.      LOCATE: version 2.00                                           page 53
  3272.